rpms/libewf/devel libewf-20100226-pyver.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 sources, 1.8, 1.9 libewf.spec, 1.15, 1.16

Nicolas Chauvet kwizart at fedoraproject.org
Mon Mar 8 21:30:20 UTC 2010


Author: kwizart

Update of /cvs/pkgs/rpms/libewf/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6350

Modified Files:
	.cvsignore sources libewf.spec 
Added Files:
	libewf-20100226-pyver.patch 
Log Message:
- Update to 20100226
- Avoid version on python module.


libewf-20100226-pyver.patch:
 Makefile.am |    2 +-
 Makefile.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE libewf-20100226-pyver.patch ---
diff -up libewf-20100226/pyewf/Makefile.am.pyver libewf-20100226/pyewf/Makefile.am
--- libewf-20100226/pyewf/Makefile.am.pyver	2009-04-02 20:06:28.000000000 +0200
+++ libewf-20100226/pyewf/Makefile.am	2010-03-08 21:57:07.336202089 +0100
@@ -11,7 +11,7 @@ pyewf_la_SOURCES = \
 
 pyewf_la_LIBADD   = ../libewf/libewf.la
 pyewf_la_CPPFLAGS = $(PYTHON_CPPFLAGS)
-pyewf_la_LDFLAGS  = -module $(PYTHON_LDFLAGS)
+pyewf_la_LDFLAGS  = -module -avoid-version $(PYTHON_LDFLAGS)
 
 endif
 
diff -up libewf-20100226/pyewf/Makefile.in.pyver libewf-20100226/pyewf/Makefile.in
--- libewf-20100226/pyewf/Makefile.in.pyver	2010-02-26 18:50:52.000000000 +0100
+++ libewf-20100226/pyewf/Makefile.in	2010-03-08 21:56:34.855197908 +0100
@@ -267,7 +267,7 @@ top_srcdir = @top_srcdir@
 
 @HAVE_PYTHON_TRUE at pyewf_la_LIBADD = ../libewf/libewf.la
 @HAVE_PYTHON_TRUE at pyewf_la_CPPFLAGS = $(PYTHON_CPPFLAGS)
- at HAVE_PYTHON_TRUE@pyewf_la_LDFLAGS = -module $(PYTHON_LDFLAGS)
+ at HAVE_PYTHON_TRUE@pyewf_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS)
 all: all-am
 
 .SUFFIXES:


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libewf/devel/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- .cvsignore	15 Jan 2009 12:10:52 -0000	1.7
+++ .cvsignore	8 Mar 2010 21:30:19 -0000	1.8
@@ -1,2 +1,2 @@
-libewf-20080501.tar.gz
+libewf-20100226.tar.gz
 mount_ewf-20090113.py


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libewf/devel/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- sources	15 Jan 2009 12:10:52 -0000	1.8
+++ sources	8 Mar 2010 21:30:19 -0000	1.9
@@ -1,2 +1,2 @@
-be28a11d32ca72c328b081d38849d5bd  libewf-20080501.tar.gz
+a697d629bb74df1fa68f22658634fdb9  libewf-20100226.tar.gz
 f560fb58f7dc8281edd3cd7559e15c86  mount_ewf-20090113.py


Index: libewf.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libewf/devel/libewf.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- libewf.spec	21 Aug 2009 14:15:44 -0000	1.15
+++ libewf.spec	8 Mar 2010 21:30:19 -0000	1.16
@@ -1,13 +1,16 @@
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+
 Name:           libewf
-Version:        20080501
-Release:        9%{?dist}
+Version:        20100226
+Release:        1%{?dist}
 Summary:        Library for the Expert Witness Compression Format (EWF)
 
 Group:          System Environment/Libraries
 License:        BSD
-URL:            https://sourceforge.net/projects/libewf/
+URL:            http://sourceforge.net/projects/libewf/
 Source0:        http://downloads.sourceforge.net/libewf/libewf-%{version}.tar.gz
 Source1:        http://downloads.sourceforge.net/libewf/mount_ewf-20090113.py
+Patch0:         libewf-20100226-pyver.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libuuid-devel
@@ -24,7 +27,7 @@ Libewf allows you to read and write medi
 
 
 %package -n     ewftools
-Summary:        Utilities for %{name}
+Summary:        Utilities for the Expert Witness Compression Format (EWF)
 Group:          Applications/System
 Requires:       %{name} = %{version}-%{release}
 Provides:       %{name}-tools = %{version}-%{release}
@@ -50,10 +53,14 @@ developing applications that use %{name}
 
 %prep
 %setup -q
+%patch0 -p1 -b .pyver
 
 
 %build
-%configure --disable-static --enable-wide-character-type
+%configure --disable-static \
+  --enable-wide-character-type \
+  --enable-python
+
 
 # Remove rpath from libtool
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@@ -90,11 +97,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n ewftools
 %defattr(-,root,root,-)
-### Exclude experimental files ###
-%exclude %{_bindir}/ewfalter
 %{_bindir}/ewf*
 %{_mandir}/man1/*.gz
 /sbin/*.ewf
+%{python_sitearch}/pyewf.so
 
 %files devel
 %defattr(-,root,root,-)
@@ -105,6 +111,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*.gz
 
 %changelog
+* Mon Mar  8 2010 Nicolas Chauvet <kwizart at fedoraproject.org> - 20100226-1
+- Update to 20100226
+- Avoid version on python module.
+
 * Fri Aug 21 2009 Tomas Mraz <tmraz at redhat.com> - 20080501-9
 - rebuilt with new openssl
 



More information about the scm-commits mailing list