Remove obsolete scriptlets

This commit is contained in:
yang_zhuang_zhuang 2020-09-25 18:43:31 +08:00
parent 1037db62dd
commit 8f383d02a9

View File

@ -1,6 +1,6 @@
Name: libksba
Version: 1.4.0
Release: 1
Release: 2
Summary: A library for X.509 and CMS
License: (LGPL-3.0+ or GPL-2.0+) and GPL-3.0+ and MIT
URL: https://www.gnupg.org/software/libksba/index.html
@ -17,8 +17,6 @@ the implemented protocols and presents the data in a consistent way.
%package devel
Summary: Development headers and libraries for %{name}
Requires:%{name} = %{version}-%{release}
Requires(post): info
Requires(preun):info
%description devel
Development headers and libraries for %{name}
@ -55,14 +53,6 @@ make check
%{_libdir}/libksba.so.*
%exclude %{_infodir}/dir
%post devel
install-info %{_infodir}/ksba.info %{_infodir}/dir ||:
%preun devel
if [ $1 -eq 0 ]; then
install-info --delete %{_infodir}/ksba.info %{_infodir}/dir ||:
fi
%files devel
%defattr(-,root,root)
%{_bindir}/*
@ -76,6 +66,12 @@ fi
%{_datadir}/info/ksba.info.gz
%changelog
* Fri Sep 25 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 1.4.0-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Remove obsolete scriptlets
* Sat Jul 25 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 1.4.0-1
- Type:enhancement
- ID:NA