fix for install_info script not being called in -tools subpackage [release 1.0.4-2mamba;Thu Dec 05 2024]

This commit is contained in:
Silvan Calarco 2024-12-05 22:28:38 +01:00
parent db15bfdc99
commit ece87a15d0

View File

@ -1,18 +1,17 @@
Name: libgss
Version: 1.0.4
Release: 1mamba
Release: 2mamba
Summary: A free implementation of RFC 2743/2744
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnu.org/software/gss/
Source: ftp://ftp.gnu.org/pub/gnu/gss/gss-%{version}.tar.gz
Source: https://ftp.gnu.org/pub/gnu/gss/gss-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires(post): %{__install_info}
Provides: liblibgss
Obsoletes: liblibgss < 1.0.4
@ -34,6 +33,7 @@ This package contains static libraries and header files needed for development.
Group: Applications/Security
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires(post): %{__install_info}
%description tools
This package contains utility applications for %{name}.
@ -51,20 +51,20 @@ This package contains utility applications for %{name}.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
rm -f %{buildroot}%{_infodir}/dir
%find_lang gss
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%post tools
%install_info gss.info
/sbin/ldconfig
exit 0
:
%preun
%preun tools
%uninstall_info gss.info
/sbin/ldconfig
exit 0
:
%files
%defattr(-,root,root)
@ -85,10 +85,13 @@ exit 0
%files tools -f gss.lang
%defattr(-,root,root)
%{_bindir}/gss
%{_infodir}/gss.info.gz
%{_infodir}/gss.info*
%{_mandir}/man1/gss.1*
%changelog
* Thu Dec 05 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-2mamba
- fix for install_info script not being called in -tools subpackage
* Fri Nov 25 2022 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
- automatic update by autodist