SHA256
1
0
forked from pool/gpg2

- Remove the fixme, condition around fdupes and enable tests

OBS-URL: https://build.opensuse.org/package/show/Base:System/gpg2?expand=0&rev=157
This commit is contained in:
Tomáš Chvátal 2017-01-09 09:33:05 +00:00 committed by Git OBS Bridge
parent 941260323c
commit 7be46568df
2 changed files with 11 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 9 09:18:48 UTC 2017 - tchvatal@suse.com
- Remove the fixme, condition around fdupes and enable tests
-------------------------------------------------------------------
Sun Dec 25 15:12:44 UTC 2016 - astieger@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package gpg2
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -57,8 +57,7 @@ Requires: libassuan0 >= 2.4.3
Requires: libgcrypt20 >= 1.7.0
Requires: libksba >= 1.3.4
Requires: pinentry
# FIXME: use proper Requires(pre/post/preun/...)
PreReq: %{install_info_prereq}
Requires(post): %{install_info_prereq}
Recommends: %{name}-lang = %{version}
Obsoletes: dirmngr < 2.1.0
Provides: dirmngr = %{version}
@ -131,14 +130,12 @@ install -m 755 tools/gpg-zip %{buildroot}/%{_bindir}
# install -m 755 tools/gpgsplit %{buildroot}/%{_bindir}
%find_lang gnupg2
%if 0%{?suse_version} > 1020
%fdupes %{buildroot}
%endif
%fdupes -s %{buildroot}
%check
# %if ! 0%{?qemu_user_space_build}
# make %{?_smp_mflags} check
# %endif
%if ! 0%{?qemu_user_space_build}
make %{?_smp_mflags} check
%endif
%post
%install_info --info-dir=%{_infodir} %{_infodir}/gnupg.info.gz