!5 delete %post and %preun

From: @lyn1001
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2020-09-25 18:28:34 +08:00 committed by Gitee
commit 37ad4dacca
2 changed files with 4 additions and 13 deletions

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

View File

@ -1,4 +0,0 @@
version_control: git
src_repo: git://git.sv.gnu.org/autoconf
tag_prefix: "^v"
seperator: "."