[gpscorrelate] Use %{_pkgdocdir}
Till Maas
till at fedoraproject.org
Tue Aug 6 10:52:03 UTC 2013
commit 68eaa11658c5415c30a7d6de69f47fbeb6ee6495
Author: Till Maas <opensource at till.name>
Date: Tue Aug 6 12:51:51 2013 +0200
Use %{_pkgdocdir}
gpscorrelate.spec | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/gpscorrelate.spec b/gpscorrelate.spec
index 3d29b89..e814d5e 100644
--- a/gpscorrelate.spec
+++ b/gpscorrelate.spec
@@ -1,8 +1,6 @@
-%global docdir_nv %{_docdir}/%{name}-%{version}
-
Name: gpscorrelate
Version: 1.6.1
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: A GPS photo correlation / geotagging tool
Group: Applications/Productivity
@@ -31,12 +29,12 @@ with the timestamp of the gps coordinates.
%build
-make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" OFLAGS="$RPM_OPT_FLAGS" docdir="%{docdir_nv}"
+make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" OFLAGS="$RPM_OPT_FLAGS" docdir="%{_pkgdocdir}"
%install
rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT bindir=%{_bindir} mandir=%{_mandir} docdir="%{docdir_nv}"
+make install DESTDIR=$RPM_BUILD_ROOT bindir=%{_bindir} mandir=%{_mandir} docdir="%{_pkgdocdir}"
make install-desktop-file DESTDIR=$RPM_BUILD_ROOT datadir=%{_datadir}
@@ -70,6 +68,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* Tue Aug 06 2013 Till Maas <opensource at till.name> - 1.6.1-11
+- Use %%{_pkgdocdir}
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list