Skip to content

Commit

Permalink
Fix release number in rpms
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Jacobelli <[email protected]>
  • Loading branch information
jjacobelli committed Sep 4, 2019
1 parent af82246 commit b6aff41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ rpm: all
$(CP) -T $(PKG_DIR)/rpm $(DESTDIR)
$(LN) -nsf $(CURDIR) $(DESTDIR)/BUILD
$(MKDIR) -p $(DESTDIR)/RPMS && $(LN) -nsf $(DIST_DIR) $(DESTDIR)/RPMS/$(ARCH)
cd $(DESTDIR) && rpmbuild --clean --target=$(ARCH) -bb -D"_topdir $(DESTDIR)" -D"_version $(VERSION)" -D"_tag $(TAG)" -D"_major $(MAJOR)" SPECS/*
cd $(DESTDIR) && rpmbuild --clean --target=$(ARCH) -bb -D"_topdir $(DESTDIR)" -D"_version $(VERSION)" -D"_major $(MAJOR)" SPECS/*
-cd $(DESTDIR) && rpmlint RPMS/*


Expand All @@ -312,6 +312,6 @@ docker-%:
--build-arg WITH_TIRPC=$(WITH_TIRPC) \
--build-arg WITH_SECCOMP=$(WITH_SECCOMP) \
-f $(MAKE_DIR)/Dockerfile.$${image%%:*} -t $(LIB_NAME):$${image/:} . && \
$(DOCKER) run --cidfile $*.cid -e TAG -e DISTRIB -e SECTION $(LIB_NAME):$${image/:} && \
$(DOCKER) run --cidfile $*.cid -e DISTRIB -e SECTION $(LIB_NAME):$${image/:} && \
$(DOCKER) cp $$(cat $*.cid):/mnt/. $(DIST_DIR)/$${image/:}/$(ARCH) && \
$(DOCKER) rm $$(cat $*.cid) && rm $*.cid
2 changes: 1 addition & 1 deletion pkg/rpm/SPECS/libnvidia-container.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Packager: NVIDIA CORPORATION <[email protected]>
URL: https://github.com/NVIDIA/libnvidia-container
BuildRequires: make
Version: %{_version}
Release: 1%{?_tag:.%_tag}
Release: 1
Summary: NVIDIA container runtime library
%description
The nvidia-container library provides an interface to configure GNU/Linux
Expand Down

0 comments on commit b6aff41

Please sign in to comment.