Skip to content

Commit b6aff41

Browse files
committed
Fix release number in rpms
Signed-off-by: Jordan Jacobelli <[email protected]>
1 parent af82246 commit b6aff41

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ rpm: all
297297
$(CP) -T $(PKG_DIR)/rpm $(DESTDIR)
298298
$(LN) -nsf $(CURDIR) $(DESTDIR)/BUILD
299299
$(MKDIR) -p $(DESTDIR)/RPMS && $(LN) -nsf $(DIST_DIR) $(DESTDIR)/RPMS/$(ARCH)
300-
cd $(DESTDIR) && rpmbuild --clean --target=$(ARCH) -bb -D"_topdir $(DESTDIR)" -D"_version $(VERSION)" -D"_tag $(TAG)" -D"_major $(MAJOR)" SPECS/*
300+
cd $(DESTDIR) && rpmbuild --clean --target=$(ARCH) -bb -D"_topdir $(DESTDIR)" -D"_version $(VERSION)" -D"_major $(MAJOR)" SPECS/*
301301
-cd $(DESTDIR) && rpmlint RPMS/*
302302

303303

@@ -312,6 +312,6 @@ docker-%:
312312
--build-arg WITH_TIRPC=$(WITH_TIRPC) \
313313
--build-arg WITH_SECCOMP=$(WITH_SECCOMP) \
314314
-f $(MAKE_DIR)/Dockerfile.$${image%%:*} -t $(LIB_NAME):$${image/:} . && \
315-
$(DOCKER) run --cidfile $*.cid -e TAG -e DISTRIB -e SECTION $(LIB_NAME):$${image/:} && \
315+
$(DOCKER) run --cidfile $*.cid -e DISTRIB -e SECTION $(LIB_NAME):$${image/:} && \
316316
$(DOCKER) cp $$(cat $*.cid):/mnt/. $(DIST_DIR)/$${image/:}/$(ARCH) && \
317317
$(DOCKER) rm $$(cat $*.cid) && rm $*.cid

pkg/rpm/SPECS/libnvidia-container.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Packager: NVIDIA CORPORATION <[email protected]>
55
URL: https://github.com/NVIDIA/libnvidia-container
66
BuildRequires: make
77
Version: %{_version}
8-
Release: 1%{?_tag:.%_tag}
8+
Release: 1
99
Summary: NVIDIA container runtime library
1010
%description
1111
The nvidia-container library provides an interface to configure GNU/Linux

0 commit comments

Comments
 (0)