[libica/f19] update to 2.3.0

Dan Horák sharkcz at fedoraproject.org
Fri May 3 12:47:12 UTC 2013


commit f215cdfc9c431ec3ee1b31367f2fe41d7abe2afe
Author: Dan Horák <dan at danny.cz>
Date:   Fri May 3 14:15:58 2013 +0200

    update to 2.3.0

 .gitignore               |    1 +
 libica-2.2-version.patch |   40 ----------------------------------------
 libica-2.3-version.patch |   25 +++++++++++++++++++++++++
 libica.spec              |   23 ++++++++++-------------
 sources                  |    2 +-
 5 files changed, 37 insertions(+), 54 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 45fe3a3..652117f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ libica-2.0.3.tar.gz
 /libica-2.1.0.tar.gz
 /libica-2.1.1.tar.gz
 /libica-2.2.0.tar.gz
+/libica-2.3.0.tar.gz
diff --git a/libica-2.3-version.patch b/libica-2.3-version.patch
new file mode 100644
index 0000000..6d52acb
--- /dev/null
+++ b/libica-2.3-version.patch
@@ -0,0 +1,25 @@
+diff -up libica-2.3.0/configure.in.version libica-2.3.0/configure.in
+--- libica-2.3.0/configure.in.version	2013-03-20 10:58:27.000000000 +0100
++++ libica-2.3.0/configure.in	2013-05-03 10:08:28.000000000 +0200
+@@ -3,6 +3,9 @@
+ 
+ AC_INIT(libica, 2.3.0, ingo.tuchscherer at linux.vnet.ibm.com)
+ 
++LIBICA_API=2.0
++AC_SUBST(LIBICA_API)
++
+ cmdline_CFLAGS="$CFLAGS"
+ 
+ # Compute $target
+diff -up libica-2.3.0/src/Makefile.am.version libica-2.3.0/src/Makefile.am
+--- libica-2.3.0/src/Makefile.am.version	2012-04-23 15:07:21.000000000 +0200
++++ libica-2.3.0/src/Makefile.am	2013-05-03 10:08:03.000000000 +0200
+@@ -2,7 +2,7 @@ INCLUDES = -I ./include -I ../include
+ 
+ lib_LTLIBRARIES = libica.la
+ 
+-libica_la_LDFLAGS = -release $(PACKAGE_VERSION) -lrt -lcrypto
++libica_la_LDFLAGS = -release $(LIBICA_API) -lrt -lcrypto
+ 
+ libica_la_SOURCES = icalinux.c ica_api.c init.c icastats_shared.c \
+ 		    s390_rsa.c s390_crypto.c s390_common.c s390_des.c \
diff --git a/libica.spec b/libica.spec
index 1a47f12..b132269 100644
--- a/libica.spec
+++ b/libica.spec
@@ -1,14 +1,13 @@
 Summary: Library for accessing ICA hardware crypto on IBM zSeries
 Name: libica
-Version: 2.2.0
-Release: 2%{?dist}
+Version: 2.3.0
+Release: 1%{?dist}
 License: CPL
 Group: System Environment/Libraries
 URL: http://sourceforge.net/projects/opencryptoki/
 Source0: http://downloads.sourceforge.net/opencryptoki/%{name}-%{version}.tar.gz
 # soname backwards compatibility
-Patch0: %{name}-2.2-version.patch
-Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0: %{name}-2.3-version.patch
 BuildRequires: openssl-devel
 BuildRequires: autoconf automake libtool
 ExclusiveArch: s390 s390x
@@ -33,13 +32,16 @@ IBM zSeries.
 
 
 %prep
-%setup -q -n %{name}-2.2
+%setup -q -n %{name}-%{version}
 
 %patch0 -p1 -b .version
 
 # fix EOLs
 sed -i -e 's/\r//g' LICENSE
 
+# cleanup source archive
+rm src/*.o src/*.la
+
 sh ./bootstrap.sh
 
 
@@ -50,35 +52,30 @@ make AM_CFLAGS="-fno-strict-aliasing"
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make install DESTDIR=$RPM_BUILD_ROOT
 rm $RPM_BUILD_ROOT%{_libdir}/libica.la
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
 
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS LICENSE
 %{_bindir}/icainfo
 %{_bindir}/icastats
 %{_libdir}/libica-2.0.so
 
 %files devel
-%defattr(-,root,root,-)
 %{_includedir}/*
 %{_libdir}/libica.so
 
 
 %changelog
+* Fri May 03 2013 Dan Horák <dan[at]danny.cz> - 2.3.0-1
+- updated to 2.3.0
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 6326999..87f6cbe 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fe6edcae7cf40898c87da6a5f8d76fb7  libica-2.2.0.tar.gz
+34a7226c36ff2b859d53ae895e483ee7  libica-2.3.0.tar.gz


More information about the scm-commits mailing list