update code
This commit is contained in:
parent
2115d3eb43
commit
db2a3168a3
15
gnupg2.spec
15
gnupg2.spec
@ -1,6 +1,6 @@
|
||||
Name: gnupg2
|
||||
Version: 2.2.17
|
||||
Release: 1
|
||||
Release: 3
|
||||
Summary: Utility for secure communication and data storage
|
||||
|
||||
License: GPLv3+
|
||||
@ -57,7 +57,6 @@ sed -i -e 's/"libpcsclite\.so"/"%{pcsclib}"/' scd/scdaemon.c
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--enable-gpg-is-gpg2 \
|
||||
--disable-gpgtar \
|
||||
--disable-rpath \
|
||||
--enable-g13 \
|
||||
@ -73,6 +72,12 @@ sed -i -e 's/"libpcsclite\.so"/"%{pcsclib}"/' scd/scdaemon.c
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/gnupg
|
||||
touch %{buildroot}%{_sysconfdir}/gnupg/gpgconf.conf
|
||||
|
||||
ln -sf gpg %{buildroot}%{_bindir}/gpg2
|
||||
ln -sf gpgv %{buildroot}%{_bindir}/gpgv2
|
||||
ln -sf gpg.1 %{buildroot}%{_mandir}/man1/gpg2.1
|
||||
ln -sf gpgv.1 %{buildroot}%{_mandir}/man1/gpgv2.1
|
||||
ln -sf gnupg.7 %{buildroot}%{_mandir}/man7/gnupg2.7
|
||||
|
||||
rm -f %{buildroot}%{_infodir}/dir
|
||||
|
||||
%check
|
||||
@ -103,5 +108,11 @@ make check
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Oct 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.2.17-3
|
||||
- add gpg and gpgv
|
||||
|
||||
* Thu Oct 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.2.17-2
|
||||
- add symlinks
|
||||
|
||||
* Thu Sep 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.2.17-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user