[UpTools/el5] Fixing unresolved deps
sebelk
sebelk at fedoraproject.org
Tue May 31 15:22:27 UTC 2011
commit dbcf8874dd3744195fc3f180614b441c6169dd57
Author: Sergio Belkin <sebelk at fedoraproject.org>
Date: Tue May 31 12:22:00 2011 -0300
Fixing unresolved deps
UpTools.spec | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/UpTools.spec b/UpTools.spec
index 95f79c3..d613d0a 100644
--- a/UpTools.spec
+++ b/UpTools.spec
@@ -1,7 +1,7 @@
Summary: C++ library for HPC, parallel processing, networking, DB, memory, etc
Name: UpTools
Version: 8.5.5
-Release: 1%{dist}
+Release: 2%{dist}
License: BSD
Group: Development/Libraries
Source: http://www.palermo.edu/ingenieria/%{name}-%{version}.tar.gz
@@ -11,6 +11,8 @@ BuildRequires: mysql-devel
BuildRequires: postgresql-devel
BuildRequires: openssl-devel
+#I prefer not to disable whole dependency generator
+#%%define _use_internal_dependency_generator 0
%description
UpTools is an open source C++ development library that contains powerful
@@ -28,6 +30,7 @@ Summary: Header files and examples for UpTools C++ library
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: libstdc++-devel%{?_isa}
+Requires: glibc-devel%{?_isa}
Requires: openssl-devel%{?_isa}
Requires: mysql-devel%{?_isa}
Requires: postgresql-devel%{?_isa}
@@ -49,13 +52,26 @@ This package include headers to build apps using UpTools and example code.
%prep
%setup -q
+
+
+
+
#Remove -no-install LDFLAG and prevent libdir hardcoding
cp -p configure configure.backup
+sed -i 's/inet_net_pton/ns_initparse/g' configure
sed -i -e 2524d -e 10935,10941d configure
touch -r configure.backup configure
#Rename README file
cp -p doc/README.OLDGLIBC doc/README.CENTOS
+##Prevent that GLIBC_PRIVATE is in requires
+#cat << \EOF > %{name}-req
+##!/bin/sh
+#%__find_requires $* | sed -e '/GLIBC_PRIVATE/d'
+#EOF
+#
+#%global __find_requires %{_builddir}/%{name}-%{version}/%{name}-req
+#chmod +x %{__find_requires}
%build
@@ -96,6 +112,10 @@ rm -rf %{buildroot}
%doc LICENSE doc/README.CENTOS doc/examples
%changelog
+* Mon May 31 2011 Sergio Belkin <sebelk at project.org> - 8.5.5-2
+- Added glibc-devel dependency
+- Replace inet_net_pton by ns_initparse, because the first one is not used at all
+
* Thu May 16 2011 Sergio Belkin <sebelk at fedoraproject.org> - 8.5.5-1
- UpTimerManager extension to report on pending timers of each type, and new
flexibility in timer setup parameters. Method now() of UpTimerManager is
More information about the scm-commits
mailing list