delete %post and %preun

This commit is contained in:
lyn1001 2020-09-25 17:54:00 +08:00
parent 24275a59ea
commit 54889c3d7c

View File

@ -1,6 +1,6 @@
Name: autoconf213
Version: 2.13
Release: 42
Release: 43
Summary: An extensible package to automatically configure software source code packages
License: GPLv2+
URL: https://www.gnu.org/software/autoconf/
@ -49,14 +49,6 @@ rm -f %{buildroot}%{_bindir}/autoscan-%{version}
%check
make check
%post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
%preun
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi
%files
%doc README
%license AUTHORS COPYING
@ -68,6 +60,9 @@ fi
%{_infodir}/*.info*
%changelog
* Fri Sep 25 2020 yanan li <liyanan32@huawei.com> - 2.13-43
- delete %post and %preun
* Thu Dec 5 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.13-42
- Change the URL to a valid one