|
@@ -4,7 +4,7 @@
|
|
|
Summary: A GNU tool for automatically creating Makefiles.
|
|
|
Summary(ja): Makefile を自動生成するための GNU ツール
|
|
|
Name: automake
|
|
|
-Version: 1.17
|
|
|
+Version: 1.18
|
|
|
%define api_version %(echo %{version} | cut -d . -f 1-2)
|
|
|
Release: 1%{?_dist_release}
|
|
|
Group: programming
|
|
@@ -15,8 +15,16 @@ Packager: daisuke
|
|
|
License: GPL
|
|
|
URL: http://sources.redhat.com/automake
|
|
|
Source: https://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz
|
|
|
-Source2: http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
|
|
-Source3: http://git.savannah.gnu.org/cgit/config.git/plain/config.guess
|
|
|
+# ~> downstream
|
|
|
+# The patch is only made necessary due to fedora specific changes
|
|
|
+# which lead to .package_note-automake-1.16.5-3.fc36.x86_64.ld
|
|
|
+# being inserted in build logs, breaking the original grep instruction
|
|
|
+Patch1: fort2.patch
|
|
|
+# Patch submitted upstream:
|
|
|
+# https://lists.gnu.org/archive/html/automake-patches/2024-11/msg00000.html
|
|
|
+Patch2: 0001-py-compile-Allow-user-to-disable-python.patch
|
|
|
+# for flat-layout python.
|
|
|
+Patch100: automake-test-python-prefix.patch
|
|
|
|
|
|
BuildArch: noarch
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
@@ -26,6 +34,7 @@ BuildRequires: texinfo
|
|
|
BuildRequires: coreutils
|
|
|
BuildRequires: findutils
|
|
|
BuildRequires: help2man
|
|
|
+BuildRequires: python3
|
|
|
BuildRequires: perl(Thread::Queue)
|
|
|
BuildRequires: perl(threads)
|
|
|
Requires: perl, autoconf >= 2.58
|
|
@@ -50,28 +59,18 @@ GNU's Autoconf package.
|
|
|
|
|
|
%prep
|
|
|
%autosetup -p1
|
|
|
-#autoreconf -vi
|
|
|
-
|
|
|
-for file in %SOURCE2 %SOURCE3; do
|
|
|
- for dest in $(find -name "$(basename "$file")"); do
|
|
|
- cp "$file" "$dest"
|
|
|
- done
|
|
|
-done
|
|
|
-sed -i -e '/t\/vala-.*sh/d' t/list-of-tests.mk
|
|
|
+#autoreconf -vif
|
|
|
|
|
|
|
|
|
%build
|
|
|
-./bootstrap
|
|
|
%configure
|
|
|
-%{__make} %{?_smp_mflags}
|
|
|
+%make_build
|
|
|
cp m4/acdir/README README.aclocal
|
|
|
cp contrib/multilib/README README.multilib
|
|
|
|
|
|
|
|
|
%install
|
|
|
-rm -rf ${RPM_BUILD_ROOT}
|
|
|
-make install DESTDIR=${RPM_BUILD_ROOT}
|
|
|
-mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|
|
+%make_install
|
|
|
|
|
|
# create this dir empty so we can own it
|
|
|
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/aclocal
|
|
@@ -81,6 +80,7 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
|
%check
|
|
|
%if %{with check}
|
|
|
+export PYTHON=%{__python3}
|
|
|
%{__make} -k %{?_smp_mflags} check %{?TESTS_FLAGS: TESTS="%{TESTS_FLAGS}"} \
|
|
|
|| ( cat ./test-suite.log && false )
|
|
|
%endif
|
|
@@ -89,8 +89,8 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
%files
|
|
|
%license COPYING*
|
|
|
%doc AUTHORS NEWS README THANKS
|
|
|
-%doc REAME.aclocal README.multilib
|
|
|
-%doc %{_pkgdocdir}/amhello-1.0.tar.gz
|
|
|
+%doc README.aclocal README.multilib
|
|
|
+%doc %{_pkgdocdir}/amhello-*.tar.gz
|
|
|
%{_bindir}/*
|
|
|
%{_infodir}/*.info*
|
|
|
%{_datadir}/automake-%{api_version}
|
|
@@ -100,6 +100,9 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Jun 13 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18-1
|
|
|
+- updated to 1.18.
|
|
|
+
|
|
|
* Thu Jul 18 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.17-1
|
|
|
- updated to 1.17.
|
|
|
|