Install user systemd units (The last update was to 2.2.20)
This commit is contained in:
parent
14008bae6f
commit
69a5deff0b
11
gnupg2.spec
11
gnupg2.spec
@ -7,7 +7,7 @@
|
|||||||
Summary: Utility for secure communication and data storage
|
Summary: Utility for secure communication and data storage
|
||||||
Name: gnupg2
|
Name: gnupg2
|
||||||
Version: 2.2.20
|
Version: 2.2.20
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Source0: ftp://ftp.gnupg.org/gcrypt/%{?pre:alpha/}gnupg/gnupg-%{version}%{?pre}.tar.bz2
|
Source0: ftp://ftp.gnupg.org/gcrypt/%{?pre:alpha/}gnupg/gnupg-%{version}%{?pre}.tar.bz2
|
||||||
@ -169,6 +169,11 @@ rm -f %{buildroot}%{_infodir}/dir
|
|||||||
# drop the gpg scheme interpreter
|
# drop the gpg scheme interpreter
|
||||||
rm -f %{buildroot}%{_bindir}/gpgscm
|
rm -f %{buildroot}%{_bindir}/gpgscm
|
||||||
|
|
||||||
|
# Move the systemd user units to appropriate directory
|
||||||
|
install -d -m755 %{buildroot}%{_userunitdir}
|
||||||
|
mv %{buildroot}%{_pkgdocdir}/examples/systemd-user/*.socket %{buildroot}%{_userunitdir}
|
||||||
|
mv %{buildroot}%{_pkgdocdir}/examples/systemd-user/*.service %{buildroot}%{_userunitdir}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# need scratch gpg database for tests
|
# need scratch gpg database for tests
|
||||||
mkdir -p $HOME/.gnupg
|
mkdir -p $HOME/.gnupg
|
||||||
@ -205,6 +210,7 @@ make -k check
|
|||||||
%{_libexecdir}/*
|
%{_libexecdir}/*
|
||||||
%{_infodir}/*.info*
|
%{_infodir}/*.info*
|
||||||
%{_mandir}/man?/*
|
%{_mandir}/man?/*
|
||||||
|
%{_userunitdir}/*
|
||||||
%exclude %{_mandir}/man?/gpgsm*
|
%exclude %{_mandir}/man?/gpgsm*
|
||||||
|
|
||||||
%files smime
|
%files smime
|
||||||
@ -214,6 +220,9 @@ make -k check
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 30 2020 Tomáš Mráz <tmraz@redhat.com> - 2.2.20-2
|
||||||
|
- move systemd user units to _userunitdir (no activation by default)
|
||||||
|
|
||||||
* Tue Apr 14 2020 Tomáš Mráz <tmraz@redhat.com> - 2.2.20-1
|
* Tue Apr 14 2020 Tomáš Mráz <tmraz@redhat.com> - 2.2.20-1
|
||||||
- upgrade to 2.2.20
|
- upgrade to 2.2.20
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user