diff --git a/autoconf.spec b/autoconf.spec index 08881620d8449d1ff561b316d2a88451008059bb..6ecfdbcaed232e46d60b2b0d624361d1acfd7513 100644 --- a/autoconf.spec +++ b/autoconf.spec @@ -3,11 +3,11 @@ Name: autoconf Version: 2.72 -Release: 1 +Release: 2 Summary: An extensible package to automatically configure software source code packages -License: GPLv2+ and GPLv3+ and GFDL-1.3-only +License: GPL-2.0-or-later AND GPL-3.0-or-later and GFDL-1.3-or-later URL: https://www.gnu.org/software/%{name}/ -Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz +Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source1: config.site Source2: autoconf-el.el @@ -15,8 +15,6 @@ BuildArch: noarch BuildRequires: m4 emacs perl perl-generators help2man gcc-c++ Requires: m4 emacs-filesystem perl -Requires(post): info -Requires(preun):info %package_help @@ -36,38 +34,32 @@ export EMACS=%{_bindir}/emacs %make_build %check -make %{?_smp_mflags} check +%make_build check %install %make_install -install -p -D %{SOURCE1} %{buildroot}%{_datadir} -install -p -D %{SOURCE2} %{buildroot}%{_emacs_sitestartdir}/autoconf-el.el - -%post help -/sbin/install-info %{_infodir}/autoconf.info %{_infodir}/dir || : - -%preun help -if [ "$1" = 0 ]; then - /sbin/install-info --delete %{_infodir}/autoconf.info %{_infodir}/dir || : -fi +# don't include standards.info, because it comes from binutils... +rm -f %{buildroot}%{_infodir}/standards.info* +install -p -D %{S:1} %{buildroot}%{_datadir} +install -p -D %{S:2} %{buildroot}%{_emacs_sitestartdir}/autoconf-el.el %files -%doc ChangeLog README THANKS +%doc ChangeLog README THANKS %license COPYING* AUTHORS doc/autoconf.info %{_bindir}/* %{_datadir}/autoconf/ %{_datadir}/config.site %{_datadir}/emacs/site-lisp/* -%exclude %{_infodir}/standards* %files help %doc NEWS TODO %{_infodir}/autoconf.info* %{_mandir}/man1/* -%exclude %{_infodir}/dir - %changelog +* Sun Oct 27 2024 Funda Wang - 2.72-2 +- cleanup spec + * Mon Jul 8 2024 dillon chen - 2.72-1 - Type:enhancement - ID:NA diff --git a/autoconf.yaml b/autoconf.yaml index f281aae16200daea3b395ec78667875c14e6a807..d1983f5c01fcb2cd8cd7593e707057fad00ec6bd 100644 --- a/autoconf.yaml +++ b/autoconf.yaml @@ -1,4 +1,4 @@ version_control: git src_repo: https://git.savannah.gnu.org/git/autoconf.git tag_prefix: ^v -seperator: "." +separator: "."