[arprec/el5] fix "Variable 'datarootdir' not defined in '%%{_libdir}/pkgconfig/arprec.pc'"

Björn Esser besser82 at fedoraproject.org
Thu Sep 19 08:17:37 UTC 2013


commit 12c6fc1b75ac483bc66d14237cb75e7702d73187
Author: Björn Esser <bjoern.esser at gmail.com>
Date:   Thu Sep 19 10:12:28 2013 +0200

    fix "Variable 'datarootdir' not defined in '%%{_libdir}/pkgconfig/arprec.pc'"

 arprec.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/arprec.spec b/arprec.spec
index 586232a..0bd898c 100644
--- a/arprec.spec
+++ b/arprec.spec
@@ -1,6 +1,6 @@
 Name:		arprec
 Version:	2.2.16
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	Software package for performing arbitrary precision arithmetic
 %{?el5:Group:	System Environment/Libraries}
 
@@ -219,8 +219,8 @@ prefix=@prefix@
 exec_prefix=\${prefix}
 
 bindir=@bindir@
-datadir=\${datarootdir}/@name@
 datarootdir=@datadir@
+datadir=\${datarootdir}/@name@
 includedir=@includedir@
 libdir=@libdir@
 mandir=@mandir@
@@ -372,6 +372,9 @@ make check ||:
 
 
 %changelog
+* Thu Sep 19 2013 Björn Esser <bjoern.esser at gmail.com> - 2.2.16-4
+- fix "Variable 'datarootdir' not defined in '%%{_libdir}/pkgconfig/arprec.pc'"
+
 * Fri Sep 13 2013 Björn Esser <bjoern.esser at gmail.com> - 2.2.16-3
 - added needed bits for el5
 - created an ascii-txt license from the license.doc provided by upstream


More information about the scm-commits mailing list