!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
|
Name: libksba
|
||||||
Version: 1.4.0
|
Version: 1.4.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A library for X.509 and CMS
|
Summary: A library for X.509 and CMS
|
||||||
License: (LGPL-3.0+ or GPL-2.0+) and GPL-3.0+ and MIT
|
License: (LGPL-3.0+ or GPL-2.0+) and GPL-3.0+ and MIT
|
||||||
URL: https://www.gnupg.org/software/libksba/index.html
|
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
|
%package devel
|
||||||
Summary: Development headers and libraries for %{name}
|
Summary: Development headers and libraries for %{name}
|
||||||
Requires:%{name} = %{version}-%{release}
|
Requires:%{name} = %{version}-%{release}
|
||||||
Requires(post): info
|
|
||||||
Requires(preun):info
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Development headers and libraries for %{name}
|
Development headers and libraries for %{name}
|
||||||
@ -55,14 +53,6 @@ make check
|
|||||||
%{_libdir}/libksba.so.*
|
%{_libdir}/libksba.so.*
|
||||||
%exclude %{_infodir}/dir
|
%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
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
@ -76,6 +66,12 @@ fi
|
|||||||
%{_datadir}/info/ksba.info.gz
|
%{_datadir}/info/ksba.info.gz
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jul 25 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 1.4.0-1
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user