[nfs-ganesha] sussed out github archives to allow correct Source0
Kaleb S. KEITHLEY
kkeithle at fedoraproject.org
Tue Jan 21 19:35:55 UTC 2014
commit d06d882f60693dd211b5e7fb1bb062eadd50cb05
Author: Kaleb S. KEITHLEY <kkeithle at redhat.com>
Date: Tue Jan 21 14:35:41 2014 -0500
sussed out github archives to allow correct Source0
nfs-ganesha.spec | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/nfs-ganesha.spec b/nfs-ganesha.spec
index 52f7a21..31b93b6 100644
--- a/nfs-ganesha.spec
+++ b/nfs-ganesha.spec
@@ -1,7 +1,5 @@
# %%global prereltag rcfinal
-%global version 2.0.0
-%global reltag V%{version}
%global ntirpcname ntirpc
%global ntirpcvers 1.0.0
@@ -16,10 +14,8 @@
%global with_glusterfs true
%endif
-%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
-
Name: nfs-ganesha
-Version: %{version}
+Version: 2.0.0
Release: 6%{?prereltag:.%{prereltag}}%{?dist}
Summary: Ganesha NFS Server
Group: System Environment/Libraries
@@ -28,8 +24,8 @@ URL: https://github.com/nfs-ganesha/nfs-ganesha/wiki
ExclusiveArch: x86_64
ExclusiveArch: aarch64
-Source0: %{name}-%{version}.tar.gz
-Source1: %{ntirpcname}-%{ntirpcvers}.tar.gz
+Source0: https://github.com/%{name}/%{name}/archive/V%{version}/%{name}-%{version}.tar.gz
+Source1: https://github.com/%{name}/%{ntirpcname}/archive/v%{ntirpcvers}/%{ntirpcname}-%{ntirpcvers}.tar.gz
Source2: nfs-ganesha.service
Source3: nfs-ganesha.init
Source4: nfs_ganesha.sh
@@ -37,6 +33,8 @@ Patch1: nfs-ganesha-2.0.0rc5.patch
Patch2: nfs-ganesha-2.0.0-lustre-strict.patch
Patch3: nfs-ganesha-2.0.0-no-strict-aliasing.patch
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+
# Bundling exception through Fedora 23
# https://fedorahosted.org/fpc/ticket/363
Provides: bundled(libntirpc)
@@ -189,6 +187,9 @@ install -D -p -m 0744 %{SOURCE4} %{buildroot}%{_sbindir}/nfs_ganesha.sh
%dir %{_pkgdocdir}
%changelog
+* Tue Jan 21 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com>
+- sussed out github archive so as to allow correct Source0
+
* Fri Jan 17 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.0.0-6
- EPEL7 and xfsprogs
More information about the scm-commits
mailing list