From a4bb5d0915ef43c6011231ed89ee9d2d6b84bd30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Tue, 17 Apr 2018 11:24:42 +0200 Subject: [PATCH] - updated to 3.3.2 --- .gitignore | 1 + libica.spec | 22 ++++++++++++---------- sources | 2 +- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index dc209f2..b31d6b2 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ libica-2.0.3.tar.gz /libica-3.0.2.tgz /libica-3.1.1.tgz /libica-3.2.0.tgz +/libica-3.3.2.tar.gz diff --git a/libica.spec b/libica.spec index 3de59b1..32b06ca 100644 --- a/libica.spec +++ b/libica.spec @@ -1,11 +1,12 @@ Summary: Library for accessing ICA hardware crypto on IBM z Systems Name: libica -Version: 3.2.0 -Release: 2%{?dist} +Version: 3.3.2 +Release: 1%{?dist} License: CPL Group: System Environment/Libraries URL: https://github.com/opencryptoki/ -Source0: https://github.com/opencryptoki/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tgz +Source0: https://github.com/opencryptoki/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +BuildRequires: gcc BuildRequires: openssl-devel BuildRequires: autoconf BuildRequires: autoconf-archive @@ -31,13 +32,13 @@ IBM z Systems. %prep -%setup -q -n %{name}-%{version} +%autosetup sh ./bootstrap.sh %build -%configure --disable-static --enable-fips --enable-testcases +%configure --disable-static --enable-fips make %{?_smp_mflags} @@ -50,10 +51,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/libica.la # mock doesn't provide the device, so check here # https://github.com/rpm-software-management/mock/issues/33 if [ -c /dev/hwrng -o -c /dev/prandom ]; then - pushd src/tests - LD_LIBRARY_PATH=../.libs PATH=..:$PATH ./suite.run -v - cat suite.out - popd + make check fi @@ -63,7 +61,8 @@ fi %files -%doc AUTHORS LICENSE +%doc AUTHORS LICENSE ChangeLog +%exclude %{_pkgdocdir}/{INSTALL,README.md} %{_bindir}/icainfo %{_bindir}/icastats %{_libdir}/libica.so.* @@ -76,6 +75,9 @@ fi %changelog +* Tue Apr 17 2018 Dan HorĂ¡k - 3.3.2-1 +- updated to 3.3.2 + * Wed Feb 07 2018 Fedora Release Engineering - 3.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 65e8130..314c231 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libica-3.2.0.tgz) = 3e3310c22be5bfe6d61d2e19de3aeec58d8db64267c78566f2a31d40b3d3ba180626a550bd37aee12d9d69696b389614d1920a287ab559e8451be197b7b10641 +SHA512 (libica-3.3.2.tar.gz) = 45c42d8c28589f2655d82a8958a2243cb90bb806fa3a2871caf2469b10d1425a96d5c7943e9f4fb24e4d91986c6231c88dab9a5231b9b20e0d88f1ed778c4cca