[UpTools] Upgrade to 8.5.5

sebelk sebelk at fedoraproject.org
Tue May 17 11:55:29 UTC 2011


commit 2d85bbba8b4b57e12bf1d3306cc5888659089430
Author: Sergio Belkin <sebelk at fedoraproject.org>
Date:   Tue May 17 08:54:56 2011 -0300

    Upgrade to 8.5.5

 UpTools.spec |  104 ++++++++++++++++++++++++++++++++++------------------------
 sources      |    1 +
 2 files changed, 62 insertions(+), 43 deletions(-)
---
diff --git a/UpTools.spec b/UpTools.spec
index 50098df..227b353 100644
--- a/UpTools.spec
+++ b/UpTools.spec
@@ -1,25 +1,28 @@
-Summary: C++ library for HPC, networking, DB, memory, etc
+Summary: C++ library for HPC, parallel processing, networking, DB, memory, etc
 Name: UpTools
-Version: 8.5.4
-Release: 15%{dist}
-License: BSD with attribution
+Version: 8.5.5
+Release: 1%{dist}
+License: BSD
 Group: Development/Libraries
 Source: http://www.palermo.edu/ingenieria/%{name}-%{version}.tar.gz
-Patch0: %{name}-8.5.4-64bit.patch
-Patch1: %{name}-8.5.4-s390.patch
 URL: http://www.palermo.edu/ingenieria/uptools_ingles.html
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildRequires: mysql-devel
 BuildRequires: postgresql-devel
 BuildRequires: openssl-devel
 
+
 %description
 UpTools is an open source C++ development library that contains powerful
-classes to facilitate and accelerate modern application development.
-The following aspects are covered by the library: High performance computing
-(HPC), Load distribution and parallel processing, Multi-threading, Time and
-timers, Memory management, Text and strings, Database access, Networking, and
-others.
-
+classes to facilitate and accelerate modern application development. The
+following aspects are covered by the library: High performance computing
+(HPC), Load distribution and parallel processing, Multi-threading, Time
+and timers, Memory management, Text and strings, Database access,
+Networking, and others.
+
+UpTools is developed and maintained by the Engineering School of the
+Universidad de Palermo, and originated in its Electronics and Communications
+Department projects.
 %package devel
 Summary: Header files and examples for UpTools C++ library
 Group: Development/Libraries
@@ -31,37 +34,42 @@ Requires: postgresql-devel%{?_isa}
  
 %description devel
 UpTools is an open source C++ development library that contains powerful
-classes to facilitate and accelerate modern application development.
-The following aspects are covered by the library: High performance computing
-(HPC), Load distribution and parallel processing, Multi-threading, Time and
-timers, Memory management, Text and strings, Database access, Networking, and
-others. This package include headers to build apps using UpTools 
-and example code.
+classes to facilitate and accelerate modern application development. The
+following aspects are covered by the library: High performance computing
+(HPC), Load distribution and parallel processing, Multi-threading, Time
+and timers, Memory management, Text and strings, Database access,
+Networking, and others.
+
+UpTools is developed and maintained by the Engineering School of the
+Universidad de Palermo, and originated in its Electronics and Communications
+Department projects.
+
+This package include headers to build apps using UpTools and example code.
 
 
 %prep
 %setup -q  
-%patch0 -p1 -b .64bit
-%patch1 -p1 -b .s390
-iconv -f iso8859-1 -t utf-8 doc/tests/testUpTimer.cc  >  doc/tests/testUpTimer.cc.conv && touch -r doc/tests/testUpTimer.cc doc/tests/testUpTimer.cc.conv  && mv -f  doc/tests/testUpTimer.cc.conv doc/tests/testUpTimer.cc
-
-mkdir doc/code_examples
-# Timestamp is preserved
-touch -r doc/tests doc/code_examples
-cp -p doc/tests/*.cc doc/code_examples
+#Remove -no-install LDFLAG and prevent libdir hardcoding
+cp -p configure configure.backup
+sed -i -e 2524d -e 10935,10941d   configure
+touch -r configure.backup configure
 
+#Rename README file
+cp -p doc/README.OLDGLIBC doc/README.CENTOS
 
 %build
 
 
-# We use unordered_map and unordered_set instead the hash_map and hash_set
-%configure --disable-static --enable-experimental --disable-silent-rules LDFLAGS="-L%{_libdir}/mysql"
+%configure --disable-dependency-tracking  --enable-experimental=no --disable-static  LDFLAGS="-L%{_libdir}/mysql"
 
 make %{?_smp_mflags} 
 
+
 %install
+rm -rf %{buildroot}
 make install DESTDIR=%{buildroot} INSTALL="install -p"
 
+
 rm -rf  %{buildroot}/%{_docdir}/%{name}
 
 # We don't want .la libtool archive
@@ -70,6 +78,11 @@ rm -f %{buildroot}%{_libdir}/libUpTools.la
 
 %postun -p /sbin/ldconfig
 
+%clean
+#Only for el5
+rm -rf %{buildroot}
+
+
 %files
 %defattr(-,root,root,-)
 %{_libdir}/libUpTools.so.*
@@ -80,22 +93,27 @@ rm -f %{buildroot}%{_libdir}/libUpTools.la
 %dir %{_includedir}/UpTools
 %{_includedir}/UpTools/*
 %{_libdir}/libUpTools.so
-%doc LICENSE doc/README.FEDORA doc/code_examples
+%doc LICENSE doc/README.CENTOS doc/examples
 
 %changelog
-* Fri May 16 2011 Sergio Belkin <sebelk at fedoraproject.org> - 8.5.4-15
-- Fixed Author entry
-
-* Fri May 16 2011 Dan Horák <dan at danny.cz> - 8.5.4-14
-- Fixed License, it was tagged wrongly as "BSD with advertising",
-  it was replaced by "BSD with attribution"
-
-* Fri Mar 25 2011 Dan Horák <dan at danny.cz> - 8.5.4-13
-- fix build on 64-bit platforms (don't fiddle with libdir in configure)
-- fix build on s390 where size_t is unsigned long
-
-* Wed Mar 23 2011 Dan Horák <dan at danny.cz> - 8.5.4-12
-- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
+* 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
+  fortified.
+- One of the operators for UpSmartLinkPtr's is removed to help g++ resolve
+  compilation ambiguity.
+- Disable silent rules and gcc warning flags of configure.ac
+- Get rid of ugly macro AX_EXT_HAVE_LIB
+- Dropped --as-needed and -O3 flags in order to be more generic and simple build
+- Loop to search mysqlclient with proper LDFLAGS
+- Prevent libdir hardcoding
+- Provides file  README.CENTOS
+- Use hash_map and has_set headers instead unordered ones
+- Remove -no-install LDFLAG
+- Fixed license, it was tagged wrongly as "BSD with advertisement", has been
+  replaced by the recently accepted "BSD with attribution"
+- Polished the test for old glibc
+- Disabled dependency tracking in order to speed up build
 
 * Tue Mar 01 2011 Sergio Belkin <sebelk at fedoraproject.org> - 8.5.4-11
 - Fixed typo in previous changelog entry
@@ -165,4 +183,4 @@ rm -f %{buildroot}%{_libdir}/libUpTools.la
 - Fixed spec file name
 
 * Mon Jan 01 2011 Sergio Belkin <sbelki at palermo.edu> - 8.5.4-1
-- first RPM made in Universidad de Palermo
+- first RPM made in Universidad de Palermo
\ No newline at end of file
diff --git a/sources b/sources
index 4a09926..aee5324 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,3 @@
 3e4f8279ce459015b7c1c908d266b784  UpTools-8.5.4.tar.gz
 de2386ed999d7d3d5d669fd4faefa3b1  UpTools-8.5.5.tar.gz
+a7ded69f341099b4bca41a42f02f988b  UpTools-8.5.5.tar.gz


More information about the scm-commits mailing list