[db4/f16] rename utils so that they won't conflict with libdb (#749293)
Jindrich Novy
jnovy at fedoraproject.org
Fri Nov 25 12:43:29 UTC 2011
commit bc59d3d93cfa317c41249d20f47c14f4f4304cb6
Author: Jindrich Novy <jnovy at redhat.com>
Date: Fri Nov 25 13:36:07 2011 +0100
rename utils so that they won't conflict with libdb (#749293)
db4.spec | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/db4.spec b/db4.spec
index 7af7a48..cf8f334 100644
--- a/db4.spec
+++ b/db4.spec
@@ -5,7 +5,7 @@
Summary: The Berkeley DB database library (version 4) for C
Name: db4
Version: 4.8.30
-Release: 3%{?dist}
+Release: 4%{?dist}
Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz
# db-1.85 upstream patches
@@ -286,6 +286,13 @@ chmod u+w ${RPM_BUILD_ROOT}%{_bindir} ${RPM_BUILD_ROOT}%{_bindir}/*
# remove unneeded .la files (#225675)
rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
+# rename utils so that they won't conflict with libdb (#749293)
+pushd ${RPM_BUILD_ROOT}%{_bindir}
+for i in `ls | sed s/db_//`; do
+ mv db_$i db4_$i;
+done
+popd
+
%clean
rm -rf ${RPM_BUILD_ROOT}
@@ -363,6 +370,9 @@ rm -rf ${RPM_BUILD_ROOT}
%endif
%changelog
+* Fri Nov 25 2011 Jindrich Novy <jnovy at redhat.com> 4.8.30-4
+- rename utils so that they won't conflict with libdb (#749293)
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.8.30-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list