config.sub: drop ppc64p7 hack
Per discussion: https://lists.fedoraproject.org/archives/list/ devel@lists.fedoraproject.org/thread/2OWD2QRDFBEC6HTPVQ7FMJENH32BWT54/ Version: 1.16.1-3
This commit is contained in:
parent
200424a0c9
commit
d366c4e5cd
@ -63,8 +63,6 @@ BuildRequires: python2-virtualenv lzip
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# remove bogus Automake perl dependencies and provides
|
# remove bogus Automake perl dependencies and provides
|
||||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Automake::
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Automake::
|
||||||
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Automake::
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Automake::
|
||||||
@ -77,19 +75,19 @@ You should install Automake if you are developing software and would
|
|||||||
like to use its ability to automatically generate GNU standard
|
like to use its ability to automatically generate GNU standard
|
||||||
Makefiles.
|
Makefiles.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
%if %{with check} && %{with automake_enables_optional_test}
|
%if %{with check} && %{with automake_enables_optional_test}
|
||||||
autoreconf -iv
|
autoreconf -iv
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
file=`find -name config.sub | head -1`
|
for file in %SOURCE2 %SOURCE3; do
|
||||||
cp %{SOURCE2} $file
|
for dest in $(find -name "$(basename "$file")"); do
|
||||||
file=`find -name config.guess | head -1`
|
cp "$file" "$dest"
|
||||||
cp %{SOURCE3} $file
|
done
|
||||||
|
done
|
||||||
|
|
||||||
# Fedora only to add ppc64p7 (Power7 optimized) arch:
|
|
||||||
perl -pi -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" lib/config.sub
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# disable replacing config.guess and config.sub from redhat-rpm-config
|
# disable replacing config.guess and config.sub from redhat-rpm-config
|
||||||
@ -99,9 +97,11 @@ make %{?_smp_mflags}
|
|||||||
cp m4/acdir/README README.aclocal
|
cp m4/acdir/README README.aclocal
|
||||||
cp contrib/multilib/README README.multilib
|
cp contrib/multilib/README README.multilib
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# %%global TESTS_FLAGS t/preproc-errmsg t/preproc-basics
|
# %%global TESTS_FLAGS t/preproc-errmsg t/preproc-basics
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
@ -109,6 +109,7 @@ make -k %{?_smp_mflags} check %{?TESTS_FLAGS: TESTS="%{TESTS_FLAGS}"} \
|
|||||||
|| ( cat ./test-suite.log && false )
|
|| ( cat ./test-suite.log && false )
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/install-info %{_infodir}/automake.info.gz %{_infodir}/dir || :
|
/sbin/install-info %{_infodir}/automake.info.gz %{_infodir}/dir || :
|
||||||
|
|
||||||
@ -117,6 +118,7 @@ if [ $1 = 0 ]; then
|
|||||||
/sbin/install-info --delete %{_infodir}/automake.info.gz %{_infodir}/dir || :
|
/sbin/install-info --delete %{_infodir}/automake.info.gz %{_infodir}/dir || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS README THANKS NEWS README.aclocal README.multilib COPYING*
|
%doc AUTHORS README THANKS NEWS README.aclocal README.multilib COPYING*
|
||||||
%doc %{_pkgdocdir}/amhello-1.0.tar.gz
|
%doc %{_pkgdocdir}/amhello-1.0.tar.gz
|
||||||
@ -128,9 +130,13 @@ fi
|
|||||||
%{_datadir}/aclocal-%{api_version}
|
%{_datadir}/aclocal-%{api_version}
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue May 08 2018 Pavel Raiskup <praiskup@redhat.com> - 1.16.1-3
|
* Wed May 09 2018 Pavel Raiskup <praiskup@redhat.com> - 1.16.1-3
|
||||||
- update config.{guess,sub} to gnuconfig git HEAD
|
- update config.{guess,sub} to gnuconfig git HEAD
|
||||||
|
- drop ppc64p7 hack in config.sub, it's not needed - per:
|
||||||
|
https://lists.fedoraproject.org/archives/list/
|
||||||
|
devel@lists.fedoraproject.org/thread/2OWD2QRDFBEC6HTPVQ7FMJENH32BWT54/
|
||||||
|
|
||||||
* Wed Mar 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.16.1-2
|
* Wed Mar 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.16.1-2
|
||||||
- Update Python 2 dependency declarations to new packaging standards
|
- Update Python 2 dependency declarations to new packaging standards
|
||||||
|
Loading…
Reference in New Issue
Block a user