[mingw-opensc: 8/24] Update to 0.11.9

Kalev Lember kalev at fedoraproject.org
Wed Mar 7 16:19:37 UTC 2012


commit aab1c4bed733e28c18b1769170d0f8649a4d239f
Author: Kalev Lember <kalev at fedoraproject.org>
Date:   Fri Sep 18 21:02:38 2009 +0000

    Update to 0.11.9

 .cvsignore          |    2 +-
 mingw32-opensc.spec |   24 +++++++++++++-----------
 sources             |    2 +-
 3 files changed, 15 insertions(+), 13 deletions(-)
---
diff --git a/.cvsignore b/.cvsignore
index 19cb4f0..ef3b855 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-opensc-0.11.8.tar.gz
+opensc-0.11.9.tar.gz
diff --git a/mingw32-opensc.spec b/mingw32-opensc.spec
index 0289403..094de1b 100644
--- a/mingw32-opensc.spec
+++ b/mingw32-opensc.spec
@@ -6,8 +6,8 @@
 %define __debug_install_post %{_mingw32_debug_install_post}
 
 Name:           mingw32-opensc
-Version:        0.11.8
-Release:        4%{?dist}
+Version:        0.11.9
+Release:        1%{?dist}
 Summary:        MingGW Windows OpenSC library
 
 Group:          Development/Libraries
@@ -47,11 +47,8 @@ This is the MinGW cross-compiled Windows library.
 %setup -q -n opensc-%{version}
 %patch1 -p1 -b .config
 
-sed -i -e 's|"/lib /usr/lib\b|"%{_mingw32_libdir}|' configure # lib64 rpaths
-cp -p src/pkcs15init/README ./README.pkcs15init
-cp -p src/scconf/README.scconf .
-# No %{_mingw32_libdir} here to avoid multilib conflicts; it's just an example
-sed -i -e 's|/usr/local/towitoko/lib/|/usr/lib/ctapi/|' etc/opensc.conf.in
+sed -i -e 's|"/lib /usr/lib\b|"%{_mingw32_libdir}|' configure
+sed -i -e 's|/usr/local/towitoko/lib/|%{_mingw32_libdir}/ctapi/|' etc/opensc.conf.in
 
 
 %build
@@ -62,11 +59,12 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT _docs
+rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 install -Dpm 644 etc/opensc.conf $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/opensc.conf
 
-mv -T $RPM_BUILD_ROOT%{_mingw32_datadir}/doc/opensc docdir
+# Remove docs which duplicate the ones in native package
+rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/doc/opensc
 
 # Remove a wrapper shell script
 rm -f $RPM_BUILD_ROOT%{_mingw32_bindir}/cardos-info
@@ -78,8 +76,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING NEWS README*
-%doc docdir/*
+%doc COPYING
 %config(noreplace) %{_mingw32_sysconfdir}/opensc.conf
 
 %{_mingw32_bindir}/cardos-info.bat
@@ -126,6 +123,11 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Sep 18 2009 Kalev Lember <kalev at smartlink.ee> - 0.11.9-1
+- Update to 0.11.9
+- Removed docs which duplicate the ones in native package
+- Spec file cleanups
+
 * Sun Aug 30 2009 Kalev Lember <kalev at smartlink.ee> - 0.11.8-4
 - Rebuilt with new mingw32-openssl
 
diff --git a/sources b/sources
index 41d4f4b..0df6367 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a269b478b18dddb648b9bd930206b5a8  opensc-0.11.8.tar.gz
+ff9b5ee4f00693873d54d83398e20847  opensc-0.11.9.tar.gz


More information about the scm-commits mailing list