!8 【master分支】Remove obsolete scriptlets
From: @yang_zhuang_zhuang Reviewed-by: @zhujianwei001 Signed-off-by: @zhujianwei001
This commit is contained in:
commit
692bc9cd38
18
libksba.spec
18
libksba.spec
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user