rpms/tre/F-10 .cvsignore, 1.3, 1.4 sources, 1.3, 1.4 tre.spec, 1.10, 1.11

Dominik Mierzejewski rathann at fedoraproject.org
Sat Aug 22 19:54:08 UTC 2009


Author: rathann

Update of /cvs/pkgs/rpms/tre/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27401

Modified Files:
	.cvsignore sources tre.spec 
Log Message:
* Sat Aug 22 2009 Dominik Mierzejewski <rpm at greysector.net> 0.7.6-1
- updated to 0.7.6
- license changed to BSD
- added missing defattr for python subpackage
- dropped conditionals for Fedora <10
- used alternative method for rpath removal
- fixed internal testsuite to run with just-built shared library
- dropped unnecessary build dependencies



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/tre/F-10/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- .cvsignore	29 Jan 2007 02:08:39 -0000	1.3
+++ .cvsignore	22 Aug 2009 19:54:07 -0000	1.4
@@ -1 +1 @@
-tre-0.7.5.tar.bz2
+tre-0.7.6.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/tre/F-10/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources	29 Jan 2007 02:07:02 -0000	1.3
+++ sources	22 Aug 2009 19:54:07 -0000	1.4
@@ -1 +1 @@
-e72e5c94008865cf720992a0b25d6e89  tre-0.7.5.tar.bz2
+ada884f6524093aa7d4961f0c97dfe01  tre-0.7.6.tar.bz2


Index: tre.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tre/F-10/tre.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- tre.spec	19 Feb 2008 20:53:40 -0000	1.10
+++ tre.spec	22 Aug 2009 19:54:07 -0000	1.11
@@ -1,17 +1,17 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 Name: tre
-Version: 0.7.5
-Release: 5%{?dist}
-License: LGPLv2+
+Version: 0.7.6
+Release: 1%{?dist}
+License: BSD
 Group: System Environment/Libraries
 Source0: http://laurikari.net/tre/%{name}-%{version}.tar.bz2
 Patch0: %{name}-chicken.patch
+# make internal tests of agrep work with just-built shared library
+Patch1: %{name}-tests.patch
 Summary: POSIX compatible regexp library with approximate matching
 URL: http://laurikari.net/tre/
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: gettext-devel
-BuildRequires: libtool
 BuildRequires: python-devel
 
 %description
@@ -57,13 +57,12 @@ regexps of any length, any number of err
 # hack to fix python bindings build
 ln -s lib tre
 %patch0 -p1 -b .chicken
+%patch1 -p1 -b .tests
 
 %build
-%{__libtoolize} --force
-%{__aclocal} -I m4 -I gnulib/m4
-%{__automake}
-%{__autoconf}
 %configure --disable-static --disable-rpath
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 %{__make} %{?_smp_mflags}
 pushd python
 %{__python} setup.py build
@@ -79,6 +78,8 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la
 %find_lang %{name}
 
 %check
+# revert rpath removal for building internal test programs
+sed -i 's|^runpath_var=DIE_RPATH_DIE|runpath_var=LD_RUN_PATH|g' libtool
 %{__make} check
 
 %clean
@@ -90,7 +91,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog COPYING.LESSER INSTALL LICENSE NEWS README THANKS TODO
+%doc AUTHORS ChangeLog INSTALL LICENSE NEWS README THANKS TODO
 %doc doc/*.html doc/*.css
 %attr(755,root,root) %{_libdir}/libtre.so.*
 
@@ -101,10 +102,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/*
 
 %files -n python-%{name}
+%defattr(644,root,root,755)
 %{python_sitearch}/tre.so
-%if 0%{?fedora} >= 9
 %{python_sitearch}/*.egg-info
-%endif
 
 %files -n agrep
 %defattr(644,root,root,755)
@@ -112,6 +112,15 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/agrep.1*
 
 %changelog
+* Sat Aug 22 2009 Dominik Mierzejewski <rpm at greysector.net> 0.7.6-1
+- updated to 0.7.6
+- license changed to BSD
+- added missing defattr for python subpackage
+- dropped conditionals for Fedora <10
+- used alternative method for rpath removal
+- fixed internal testsuite to run with just-built shared library
+- dropped unnecessary build dependencies
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.7.5-5
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list