automatic version update by autodist [release 2.4.1-1mamba;Sat Apr 29 2023]
This commit is contained in:
parent
aa07dab176
commit
e98db84f6f
41
gnupg2.spec
41
gnupg2.spec
@ -1,6 +1,6 @@
|
||||
Name: gnupg2
|
||||
Version: 2.4.0
|
||||
Release: 2mamba
|
||||
Version: 2.4.1
|
||||
Release: 1mamba
|
||||
Summary: GnuPG is a complete and free replacement for PGP
|
||||
Group: Applications/Security
|
||||
Vendor: openmamba
|
||||
@ -62,9 +62,9 @@ ln -s gpg %{buildroot}%{_bindir}/gpg2
|
||||
ln -s gpgv %{buildroot}%{_bindir}/gpgv2
|
||||
|
||||
# Move the systemd user units to appropriate directory
|
||||
install -d -m755 %{buildroot}%{_userunitdir}
|
||||
mv %{buildroot}%{_docdir}/gnupg/examples/systemd-user/*.socket %{buildroot}%{_userunitdir}
|
||||
mv %{buildroot}%{_docdir}/gnupg/examples/systemd-user/*.service %{buildroot}%{_userunitdir}
|
||||
#install -d -m755 %{buildroot}%{_userunitdir}
|
||||
#mv %{buildroot}%{_docdir}/gnupg/examples/systemd-user/*.socket %{buildroot}%{_userunitdir}
|
||||
#mv %{buildroot}%{_docdir}/gnupg/examples/systemd-user/*.service %{buildroot}%{_userunitdir}
|
||||
|
||||
|
||||
units=({dirmngr,gpg-agent{,-{browser,extra,ssh}}}.socket)
|
||||
@ -82,21 +82,21 @@ done
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
%systemd_user_post dirmngr.socket
|
||||
%systemd_user_post gpg-agent.socket
|
||||
%systemd_user_post gpg-agent-ssh.socket
|
||||
%systemd_user_post gpg-agent-extra.socket
|
||||
%systemd_user_post gpg-agent-browser.socket
|
||||
%install_info gnupg.info
|
||||
#%systemd_user_post dirmngr.socket
|
||||
#%systemd_user_post gpg-agent.socket
|
||||
#%systemd_user_post gpg-agent-ssh.socket
|
||||
#%systemd_user_post gpg-agent-extra.socket
|
||||
#%systemd_user_post gpg-agent-browser.socket
|
||||
#%install_info gnupg.info
|
||||
:
|
||||
|
||||
%preun
|
||||
%systemd_user_preun dirmngr.service
|
||||
%systemd_user_preun gpg-agent.service
|
||||
%systemd_user_preun gpg-agent-ssh.service
|
||||
%systemd_user_preun gpg-agent-extra.service
|
||||
%systemd_user_preun gpg-agent-browser.service
|
||||
%uninstall_info gnupg.info
|
||||
#%systemd_user_preun dirmngr.service
|
||||
#%systemd_user_preun gpg-agent.service
|
||||
#%systemd_user_preun gpg-agent-ssh.service
|
||||
#%systemd_user_preun gpg-agent-extra.service
|
||||
#%systemd_user_preun gpg-agent-browser.service
|
||||
#%uninstall_info gnupg.info
|
||||
:
|
||||
|
||||
%files -f %{name}.lang
|
||||
@ -118,8 +118,8 @@ done
|
||||
%{_libexecdir}/keyboxd
|
||||
%{_libexecdir}/scdaemon
|
||||
%{_libexecdir}/tpm2daemon
|
||||
%{_userunitdir}/*.service
|
||||
%{_userunitdir}/*.socket
|
||||
#%{_userunitdir}/*.service
|
||||
#%{_userunitdir}/*.socket
|
||||
%{_userunitdir}/sockets.target.wants/*.socket
|
||||
%{_infodir}/gnupg.*
|
||||
%{_mandir}/man1/*
|
||||
@ -130,6 +130,9 @@ done
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
%changelog
|
||||
* Sat Apr 29 2023 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Feb 05 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.0-2mamba
|
||||
- install socket files under %{_userunitdir}/sockets.target.wants
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user