[pari] Include compat library for a while
Paul Howarth
pghmcfc at fedoraproject.org
Thu May 22 13:45:56 UTC 2014
commit 0ebc098f16e02db7c9c5caa60b415fa3d14b0b15
Author: Paul Howarth <paul at city-fan.org>
Date: Thu May 22 14:44:50 2014 +0100
Include compat library for a while
Temporarily include old version of library to avoid broken deps whilst
migration to pari 2.7 happens in Rawhide
pari.spec | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/pari.spec b/pari.spec
index 439f418..fe84e02 100644
--- a/pari.spec
+++ b/pari.spec
@@ -1,6 +1,6 @@
Name: pari
Version: 2.7.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Number Theory-oriented Computer Algebra System
Group: System Environment/Libraries
# No version is specified
@@ -26,6 +26,9 @@ BuildRequires: pari-galdata
BuildRequires: pari-galpol
BuildRequires: pari-seadata
+# For temporary compat library
+BuildRequires: pari
+
# Avoid doc-file dependencies and provides
%global __provides_exclude_from ^%{_datadir}/pari/PARI/
%global __requires_exclude_from ^%{_datadir}/pari/PARI/
@@ -116,6 +119,10 @@ desktop-file-install \
# need to patch it to fix the path to the executable
find %{buildroot} -name xgp -exec rm '{}' ';'
+# Copy in the temporary compat library from the existing package
+install -p %{_libdir}/libpari-gmp.so.2.5.5 %{buildroot}%{_libdir}
+ln -s libpari-gmp.so.2.5.5 %{buildroot}%{_libdir}/libpari-gmp.so.3
+
# Placate rpmlint regarding binary and library permissions
%{_fixperms} %{buildroot}{%{_bindir},%{_libdir}}
@@ -129,6 +136,8 @@ make test-all
%files
%doc AUTHORS CHANGES* COPYING COMPAT NEW README
%doc Olinux-*/pari.cfg
+%{_libdir}/libpari-gmp.so.2.5.5
+%{_libdir}/libpari-gmp.so.3
%{_libdir}/libpari-gmp.so.%{version}
%{_libdir}/libpari-gmp.so.4
@@ -156,6 +165,10 @@ make test-all
%{_libdir}/libpari.so
%changelog
+* Thu May 22 2014 Paul Howarth <paul at city-fan.org> - 2.7.1-2
+- Temporarily include old version of library to avoid broken deps whilst
+ migration to pari 2.7 happens in Rawhide
+
* Fri May 16 2014 Paul Howarth <paul at city-fan.org> - 2.7.1-1
- Update to 2.7.1 (see CHANGES for details)
More information about the scm-commits
mailing list