Hello community, here is the log from the commit of package openssl_tpm_engine for openSUSE:Factory checked in at 2018-07-28 12:43:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openssl_tpm_engine (Old) and /work/SRC/openSUSE:Factory/.openssl_tpm_engine.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openssl_tpm_engine" Sat Jul 28 12:43:35 2018 rev:20 rq:625689 version:0.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/openssl_tpm_engine/openssl_tpm_engine.changes 2017-12-06 09:00:18.309216307 +0100 +++ /work/SRC/openSUSE:Factory/.openssl_tpm_engine.new/openssl_tpm_engine.changes 2018-07-28 12:43:36.244793929 +0200 @@ -1,0 +2,9 @@ +Fri Jul 20 07:00:05 UTC 2018 - mplus...@suse.com + +- Modernise spec file with spec-cleaner +- Use pkgconfig style dependencies +- Update dependencies +- Drop %check section - tests are not usable in build environment + (and not run anyways). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openssl_tpm_engine.spec ++++++ --- /var/tmp/diff_new_pack.ab4EB9/_old 2018-07-28 12:43:36.796794932 +0200 +++ /var/tmp/diff_new_pack.ab4EB9/_new 2018-07-28 12:43:36.800794939 +0200 @@ -1,7 +1,7 @@ # # spec file for package openssl_tpm_engine # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -16,14 +16,15 @@ # +%define enginesdir %(pkg-config libcrypto --variable=enginesdir) Name: openssl_tpm_engine -Url: http://sourceforge.net/projects/trousers -Summary: OpenSSL TPM interface engine plugin -License: GPL-2.0+ -Group: Productivity/Security Version: 0.4.2 Release: 0 -Source0: https://downloads.sourceforge.net/project/trousers/OpenSSL%20TPM%20Engine/%{version}/%{name}-%{version}.tar.gz +Summary: OpenSSL TPM interface engine plugin +License: GPL-2.0-or-later +Group: Productivity/Security +URL: http://sourceforge.net/projects/trousers +Source0: https://downloads.sourceforge.net/project/trousers/OpenSSL%%20TPM%%20Engine/%{version}/%{name}-%{version}.tar.gz Patch0: openssl_tpm_engine-somodule.patch Patch1: 0000-openssl-1.1-compatibility-preparation-remove-unneede.patch Patch2: 0001-openssl-1.1-compatibility-preparation-fix-warnings-a.patch @@ -32,12 +33,12 @@ Patch5: 0004-automake-add-linker-flags-to-explicitly-build-a-plug.patch Patch6: 0005-autotools-choose-engine-plugin-name-based-on-OpenSSL.patch Patch7: 0006-autotools-make-engine-plugin-installation-dir-config.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: automake -BuildRequires: libopenssl-devel BuildRequires: libtool +BuildRequires: pkgconfig >= 0.9.0 BuildRequires: trousers-devel -%define enginesdir %(pkg-config libcrypto --variable=enginesdir) +BuildRequires: pkgconfig(libcrypto) +BuildRequires: pkgconfig(openssl) %description This package contains a plugin a for OpenSSL which connects it with the @@ -46,7 +47,7 @@ %prep %setup -q -%patch0 -p0 +%patch0 %patch1 -p1 %patch2 -p1 %patch3 -p1 @@ -59,21 +60,15 @@ mkdir m4 sh ./bootstrap.sh %configure --libdir=/%{_lib} -make - -%check -make check +make %{?_smp_mflags} %install -make install DESTDIR=$RPM_BUILD_ROOT -rm $RPM_BUILD_ROOT/%{enginesdir}/tpm.la - -%clean -rm -rf $RPM_BUILD_ROOT +%make_install +rm %{buildroot}/%{enginesdir}/tpm.la %files -%defattr(-, root, root) -%doc LICENSE README openssl.cnf.sample +%license LICENSE +%doc README openssl.cnf.sample %{_bindir}/create_tpm_key %dir %{enginesdir} %{enginesdir}/tpm.so