disable provides to avoid conflict with non legacy automake for per [release 1.14.1-3mamba;Thu Mar 19 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 20:42:08 +01:00
parent fdfb55573a
commit c2d6c463ac

View File

@ -2,7 +2,7 @@
Name: automake1.14
Version: 1.14.1
Release: 2mamba
Release: 3mamba
Summary: A GNU tool for automatically creating Makefiles
Group: Development/Tools
Vendor: openmamba
@ -33,6 +33,26 @@ If you install Automake, you will also need to install GNU's Autoconf package.
%setup -q -n automake-%{version}
%patch -p1 -b .use_mktemp
%define _use_internal_dependency_generator 0
%define __find_provides %{_builddir}/automake-%{version}/find_provides.sh
cat > find_provides.sh << _EOF
#! /bin/sh
%{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu} | \
grep -v "perl(Automake::"
exit 0
_EOF
chmod +x find_provides.sh
%define __find_requires %{_builddir}/automake-%{version}/find_requires.sh
cat > find_requires.sh << _EOF
#! /bin/sh
%{_libdir}/rpm/find-requires %{buildroot} %{_target_cpu} 2>/dev/null | \
grep -v "perl(Automake::"
exit 0
_EOF
chmod +x find_requires.sh
%build
export WANT_AUTOCONF_2_5=1
%configure
@ -60,6 +80,9 @@ rm -rf %{buildroot}%{_infodir}
%doc AUTHORS COPYING
%changelog
* Thu Mar 19 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.1-3mamba
- disable provides to avoid conflict with non legacy automake for per
* Fri Jan 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.1-2mamba
- rebuilt as legacy package