- Do not delete a necessary file during %install

This commit is contained in:
Stephen Gallagher 2011-01-11 17:02:56 -05:00
parent 615c5641d1
commit 34a1fb47e2
2 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,3 +1 @@
tdb-1.2.1.tar.gz
/libtdb-1.2.9-1.fc15.src.rpm
/tdb-1.2.9.tar.gz

View File

@ -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@redhat.com> - 1.2.9-4
- Do not delete a necessary file during %%install
* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-3
- Bump release to rebuild with the correct sources in place