[yelp-tools] Tidy spec file

David King amigadave at fedoraproject.org
Tue Jul 1 13:09:55 UTC 2014


commit a3eb9024346f2f8640336862246348fee1438625
Author: David King <amigadave at amigadave.com>
Date:   Tue Jul 1 13:51:31 2014 +0100

    Tidy spec file
    
    Use pkg-config for yelp-xsl BuildRequires. Fix bogus date in changelog.
    Preserve timestamps during installation. Update URL.

 yelp-tools.spec |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/yelp-tools.spec b/yelp-tools.spec
index b568821..a25c5e9 100644
--- a/yelp-tools.spec
+++ b/yelp-tools.spec
@@ -1,15 +1,15 @@
 Name:          yelp-tools
 Version:       3.13.3
-Release:       1%{?dist}
+Release:       2%{?dist}
 Summary:       Create, manage, and publish documentation for Yelp
 
 Group:         Applications/Publishing
 License:       GPLv2+
-URL:           http://projects.gnome.org/yelp/
-Source0:       http://download.gnome.org/sources/yelp-tools/3.13/yelp-tools-%{version}.tar.xz
+URL:           https://wiki.gnome.org/Apps/Yelp
+Source0:       https://download.gnome.org/sources/%{name}/3.13/%{name}-%{version}.tar.xz
 BuildArch:     noarch
 
-BuildRequires: yelp-xsl-devel
+BuildRequires: pkgconfig(yelp-xsl)
 BuildRequires: itstool
 BuildRequires: libxslt
 
@@ -31,7 +31,7 @@ wraps things up in a developer-friendly way.
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT
+make DESTDIR=%{buildroot} INSTALL="install -p" install
 
 %files
 %doc AUTHORS COPYING COPYING.GPL README
@@ -42,6 +42,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
 %{_datadir}/aclocal/yelp.m4
 
 %changelog
+* Tue Jul 01 2014 David King <amigadave at amigadave.com> - 3.13.3-2
+- Tidy spec file
+
 * Tue Jun 24 2014 Richard Hughes <rhughes at redhat.com> - 3.13.3-1
 - Update to 3.13.3
 
@@ -135,5 +138,5 @@ make install DESTDIR=$RPM_BUILD_ROOT
 * Thu Aug 18 2011 Matthias Clasen <mclasen at redhat.com> 3.1.5-1
 - Update to 3.1.5
 
-* Mon Jun 16 2011 Zeeshan Ali <zeenix at redhat.com> 3.1.4-1
+* Thu Jun 16 2011 Zeeshan Ali <zeenix at redhat.com> 3.1.4-1
 - Initial release.


More information about the scm-commits mailing list