The package rpms/libpoly.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/libpoly.git/commit/?id=c4925e46fa....
Change:
+%ifnarch %{ix86} %{arm}
Thanks.
Full change:
============
commit c4925e46faeab2d48e93235163d4cb78f38eec3d
Author: Jerry James <loganjerry(a)gmail.com>
Date: Thu Mar 26 12:20:40 2020 -0600
Do not run the tests on 32-bit platforms; the tests fail due to the
limited size of a C integer.
diff --git a/libpoly.spec b/libpoly.spec
index 0d80d96..9f7998b 100644
--- a/libpoly.spec
+++ b/libpoly.spec
@@ -61,10 +61,12 @@ cd build
mkdir -p %{buildroot}%{python3_sitearch}
cp -p python/polypy.so %{buildroot}%{python3_sitearch}
+%ifnarch %{ix86} %{arm}
%check
export LD_LIBRARY_PATH=$PWD/build/src
cd build
make check
+%endif
%files
%license LICENCE
@@ -83,7 +85,8 @@ make check
- Version 0.1.8
- Add sympy BR for the tests
- Add the python3 interface
-- Bring back the check script
+- Bring back the check script for 64-bit platforms; 32-bit platforms cannot
+ run all tests due to the limited size of a C integer
* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.7-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
commit 1455581b2aa63125eacfdf09cebf886861d2ec53
Author: Jerry James <loganjerry(a)gmail.com>
Date: Thu Mar 26 11:44:54 2020 -0600
Version 0.1.8.
Also:
- Add sympy BR for the tests.
- Add the python3 interface.
- Bring back the %check script.
diff --git a/libpoly.spec b/libpoly.spec
index 1d443fd..0d80d96 100644
--- a/libpoly.spec
+++ b/libpoly.spec
@@ -1,6 +1,6 @@
Name: libpoly
-Version: 0.1.7
-Release: 4%{?dist}
+Version: 0.1.8
+Release: 1%{?dist}
Summary: C library for manipulating polynomials
License: LGPLv3+
@@ -10,6 +10,8 @@ Source0:
https://github.com/SRI-CSL/%{name}/archive/v%{version}/%{name}-%
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gmp-devel
+BuildRequires: python3-devel
+BuildRequires: python3dist(sympy)
%description
LibPoly is a C library for manipulating polynomials. The target
@@ -24,6 +26,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
+%package -n python3-%{name}
+Summary: Python 3 interface to %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description -n python3-%{name}
+This package contains a python 3 interface to %{name}.
+
%prep
%autosetup
@@ -37,17 +46,26 @@ find . -name .gitignore -delete
%build
cd build
-%cmake .. %{_cmake_skip_rpath} \
+%cmake %{_cmake_skip_rpath} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DLIBPOLY_BUILD_STATIC:BOOL=OFF \
-DLIBPOLY_BUILD_STATIC_PIC:BOOL=OFF \
- -DLIBPOLY_BUILD_PYTHON_API:BOOL=OFF
+ ..
%make_build
%install
cd build
%make_install
+# Install the python interface by hand
+mkdir -p %{buildroot}%{python3_sitearch}
+cp -p python/polypy.so %{buildroot}%{python3_sitearch}
+
+%check
+export LD_LIBRARY_PATH=$PWD/build/src
+cd build
+make check
+
%files
%license LICENCE
%doc README.md
@@ -57,7 +75,16 @@ cd build
%{_includedir}/poly/
%{_libdir}/*.so
+%files -n python3-%{name}
+%{python3_sitearch}/polypy.so
+
%changelog
+* Thu Mar 26 2020 Jerry James <loganjerry(a)gmail.com> - 0.1.8-1
+- Version 0.1.8
+- Add sympy BR for the tests
+- Add the python3 interface
+- Bring back the check script
+
* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.7-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
diff --git a/sources b/sources
index 3657e5f..83174e3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libpoly-0.1.7.tar.gz) =
587281478605ed6b478d2c25a38620e222e40a206b926e8f4d804034daa653efdbdeca484a0a27f95cc25efa23affdf111a3131352bdf1f430de6880cdf4fdf0
+SHA512 (libpoly-0.1.8.tar.gz) =
0e5049c08ae6bdcbfeb32b516b3c98ce0595214303f3fffb9f4d855caee5c43f0bebc8768088ac7918fe5b715fe7f06077756dc7435f8e81b0adcb1346f3ea33