[packages/gawk] - remove notes.info, adjusted autotools regeneration so it's not re-regenerated after configure

qboosh qboosh at pld-linux.org
Mon Feb 23 18:31:33 CET 2026


commit 95530b8594b2ee0a3a5b5dbf5765cd19a995d993
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Feb 23 18:31:25 2026 +0100

    - remove notes.info, adjusted autotools regeneration so it's not re-regenerated after configure

 gawk.spec | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/gawk.spec b/gawk.spec
index 6a2d95f..c35848b 100644
--- a/gawk.spec
+++ b/gawk.spec
@@ -129,18 +129,18 @@ Ten pakiet zawiera pliki nagłówkowe dla gawka.
 
 %build
 %{__gettextize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
 cd extension
 %{__gettextize}
 %{__libtoolize}
-%{__aclocal} -I m4 -I ../m4
+%{__aclocal} -I ../m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 cd ..
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
 	--datadir=%{_libdir}
 
@@ -154,12 +154,16 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# unversioned is enough
 %{__rm} $RPM_BUILD_ROOT%{_bindir}/gawk-%{version}
-rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-
 # mawk provides system wide 'awk'
 %{__rm} $RPM_BUILD_ROOT%{_bindir}/awk
 
+# index maintained by fix-info-dir
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+# gawk maintainer notes, nothing useful without sources
+%{__rm} $RPM_BUILD_ROOT%{_infodir}/notes.info*
+
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.gawk-non-english-man-pages
 # igawk is declared as obsolete since 4.0.0, dropped in 4.2.0
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gawk.git/commitdiff/95530b8594b2ee0a3a5b5dbf5765cd19a995d993



More information about the pld-cvs-commit mailing list