From c2d6c463acdda5cff19f555a5d332fb27f0b89ab Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:42:08 +0100 Subject: [PATCH] disable provides to avoid conflict with non legacy automake for per [release 1.14.1-3mamba;Thu Mar 19 2015] --- automake1.14.spec | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/automake1.14.spec b/automake1.14.spec index bd05ea8..6329f5d 100644 --- a/automake1.14.spec +++ b/automake1.14.spec @@ -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 1.14.1-3mamba +- disable provides to avoid conflict with non legacy automake for per + * Fri Jan 30 2015 Silvan Calarco 1.14.1-2mamba - rebuilt as legacy package