This seems to be the recommended way these days and change the tag accordingly.
Signed-off-by: Martin Kolman mkolman@redhat.com --- Makefile | 2 +- initial-setup.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile index a49bc82..9e55c5f 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ PKGNAME=initial-setup VERSION=$(shell awk '/Version:/ { print $$2 }' $(PKGNAME).spec) RELEASE=$(shell awk '/Release:/ { print $$2 }' $(PKGNAME).spec | sed -e 's|%.*$$||g') -TAG=r$(VERSION)-$(RELEASE) +TAG=$(PKGNAME)-$(VERSION)
PREFIX=/usr
diff --git a/initial-setup.spec b/initial-setup.spec index c5a2b9e..583e309 100644 --- a/initial-setup.spec +++ b/initial-setup.spec @@ -10,7 +10,7 @@ Release: 1%{?dist} # The source is thus available only from within this SRPM # or via direct git checkout: # git clone https://github.com/rhinstaller/initial-setup -Source0: %{name}-%{version}.tar.gz +Source0: https://github.com/rhinstaller/initial-setup/archive/%%7Bname%7D-%%7Bversion...
%define debug_package %{nil} %define anacondaver 24.0
On 02/18/2016 08:30 AM, Martin Kolman wrote:
This seems to be the recommended way these days and change the tag accordingly.
Signed-off-by: Martin Kolman mkolman@redhat.com
Makefile | 2 +- initial-setup.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile index a49bc82..9e55c5f 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ PKGNAME=initial-setup VERSION=$(shell awk '/Version:/ { print $$2 }' $(PKGNAME).spec) RELEASE=$(shell awk '/Release:/ { print $$2 }' $(PKGNAME).spec | sed -e 's|%.*$$||g') -TAG=r$(VERSION)-$(RELEASE) +TAG=$(PKGNAME)-$(VERSION)
PREFIX=/usr
diff --git a/initial-setup.spec b/initial-setup.spec index c5a2b9e..583e309 100644 --- a/initial-setup.spec +++ b/initial-setup.spec @@ -10,7 +10,7 @@ Release: 1%{?dist} # The source is thus available only from within this SRPM # or via direct git checkout: # git clone https://github.com/rhinstaller/initial-setup -Source0: %{name}-%{version}.tar.gz +Source0: https://github.com/rhinstaller/initial-setup/archive/%%7Bname%7D-%%7Bversion...
%define debug_package %{nil} %define anacondaver 24.0
Nak. The github archive will not include the .po files, so it will not be the same as the actual source archive. Just ignore the rpmlint message.
anaconda-patches@lists.fedorahosted.org