[libtdb] - Do not delete a necessary file during %install

Stephen Gallagher sgallagh at fedoraproject.org
Tue Jan 11 22:03:06 UTC 2011


commit 34a1fb47e26e90639ea27211ceb9d37ffc0a2efe
Author: Stephen Gallagher <sgallagh at redhat.com>
Date:   Tue Jan 11 17:02:56 2011 -0500

    - Do not delete a necessary file during %install

 .gitignore  |    2 --
 libtdb.spec |    6 ++++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4f69a10..9fa6ce0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1 @@
-tdb-1.2.1.tar.gz
-/libtdb-1.2.9-1.fc15.src.rpm
 /tdb-1.2.9.tar.gz
diff --git a/libtdb.spec b/libtdb.spec
index 2ba80a6..8f8f6ba 100644
--- a/libtdb.spec
+++ b/libtdb.spec
@@ -6,7 +6,7 @@
 
 Name: libtdb
 Version: 1.2.9
-Release: 3%{?dist}
+Release: 4%{?dist}
 Group: System Environment/Daemons
 Summary: The tdb library
 License: LGPLv3+
@@ -61,7 +61,6 @@ rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/libtdb.a
-rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/tdb.so
 
 # Work around incorrect build-system location
 if [ ! -e $RPM_BUILD_ROOT/%{python_sitearch}/tdb.so ]; then
@@ -105,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT
 /sbin/ldconfig
 
 %changelog
+* Tue Jan 11 2011 Stephen Gallagher <sgallagh at redhat.com> - 1.2.9-4
+- Do not delete a necessary file during %%install
+
 * Tue Jan 11 2011 Stephen Gallagher <sgallagh at redhat.com> - 1.2.9-3
 - Bump release to rebuild with the correct sources in place
 


More information about the scm-commits mailing list