diff --git a/gpg2.changes b/gpg2.changes index d1a8e82..677bd20 100644 --- a/gpg2.changes +++ b/gpg2.changes @@ -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 diff --git a/gpg2.spec b/gpg2.spec index 904d2cd..0c6380c 100644 --- a/gpg2.spec +++ b/gpg2.spec @@ -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