The package rpms/ratpoints.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/ratpoints.git/commit/?id=4b6e8b2c....
Change:
+%ifarch %{ix86} x86_64
Thanks.
Full change:
============
commit 4b6e8b2cfad5b1e8ce0c7207f7e9773e5c27cd3d
Author: Jerry James <loganjerry(a)gmail.com>
Date: Tue Mar 26 18:10:58 2019 -0600
Fix linking snafu that caused FTBFS (bz 1675872).
diff --git a/ratpoints-shared.patch b/ratpoints-shared.patch
index e8a34d5..ee38e15 100644
--- a/ratpoints-shared.patch
+++ b/ratpoints-shared.patch
@@ -67,7 +67,7 @@ diff -up ratpoints-2.1.3/Makefile.orig ratpoints-2.1.3/Makefile
-libratpoints.a: sift.o init.o sturm.o find_points.o
- ar rs libratpoints.a sift.o init.o sturm.o find_points.o
+libratpoints.so.$(MAJOR): sift.o init.o sturm.o find_points.o
-+ gcc -shared -o libratpoints.so.$(MAJOR) -Wl,-soname=libratpoints.so.$(MAJOR) sift.o
init.o sturm.o find_points.o
++ gcc -shared -o libratpoints.so.$(MAJOR) -Wl,-soname=libratpoints.so.$(MAJOR) sift.o
init.o sturm.o find_points.o ${CCFLAGS2}
+ ln -s libratpoints.so.$(MAJOR) libratpoints.so
-ratpoints: libratpoints.a main.c ratpoints.h
diff --git a/ratpoints.spec b/ratpoints.spec
index 77d2407..f653d26 100644
--- a/ratpoints.spec
+++ b/ratpoints.spec
@@ -1,6 +1,6 @@
%global major 0
-%ifarch x86_64
+%ifarch %{ix86} x86_64
%global use_sse -DUSE_SSE
%else
%global use_sse %{nil}
@@ -19,7 +19,7 @@
Source0:
http://www.mathe2.uni-bayreuth.de/stoll/programs/%{name}-%{version}.tar
# -o $RPM_BUILD_ROOT/%%{_mandir}/man1/ratpoints.1 ./ratpoints
# but edited for better formatting.
Source1: %{name}.1
-BuildRequires: gcc
+BuildRequires: gcc
BuildRequires: gmp-devel
Patch0: %{name}-shared.patch
@@ -35,11 +35,10 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Header and library for development with %{name}.
%prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
sed -e "s|-Wall -O2 -fomit-frame-pointer|%{optflags} %{use_sse}|" \
- -e "s|-shared|& $RPM_LD_FLAGS -lgmp -lm|" \
+ -e "s|-shared|& $RPM_LD_FLAGS|" \
-i Makefile
%build
@@ -52,8 +51,6 @@ install -p -D -m644 %{SOURCE1}
$RPM_BUILD_ROOT/%{_mandir}/man1/%{name}.1
%check
LD_LIBRARY_PATH=$PWD: make test
-%ldconfig_scriptlets
-
%files
%doc gpl-2.0.txt
%doc ratpoints-doc.pdf