[db4] rename utils so that they won't conflict with libdb (#749293)

Jindrich Novy jnovy at fedoraproject.org
Thu Oct 27 13:17:41 UTC 2011


commit 9e4a5f2a54afb3b08fcdfa6600221b0eafce03b8
Author: Jindrich Novy <jnovy at redhat.com>
Date:   Thu Oct 27 15:17:32 2011 +0200

    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..957119f 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
+* Thu Oct 27 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