[libstatgrab/el5] * Tue Aug 13 2013 Oliver Falk <oliver at linux-kernel.at> - 0.90-1 - Update - Should fix BZ#925891

Oliver Falk oliver at fedoraproject.org
Tue Aug 13 11:29:25 UTC 2013


commit d5cbf03bed8bf854f5466ca3a9eee2417caf34bc
Author: Oliver Falk <oliver at linux-kernel.at>
Date:   Tue Aug 13 13:29:01 2013 +0200

    * Tue Aug 13 2013 Oliver Falk <oliver at linux-kernel.at> - 0.90-1
    - Update
    - Should fix BZ#925891

 .gitignore                |    2 +-
 libstatgrab.nochmod.patch |   52 ---------------------------------------------
 libstatgrab.spec          |   21 ++++++++++++------
 sources                   |    2 +-
 4 files changed, 16 insertions(+), 61 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c61aff3..76875ab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-libstatgrab-0.13.tar.gz
+/libstatgrab-0.90.tar.gz
diff --git a/libstatgrab.spec b/libstatgrab.spec
index 4fcf879..bc55ef5 100644
--- a/libstatgrab.spec
+++ b/libstatgrab.spec
@@ -3,11 +3,10 @@
 Summary:		Make system statistics
 Name:			libstatgrab
 
-Version:		0.13
-Release:		4%{?dist}
+Version:		0.90
+Release:		1%{?dist}
 
 Source0:		http://ftp.i-scream.org/pub/i-scream/%{name}/%{name}-%{version}.tar.gz
-Patch0:			%{name}.nochmod.patch
 
 License:		LGPLv2+
 Group:			System Environment/Libraries
@@ -66,10 +65,15 @@ to develop libstatgrab based applications.
 
 %prep
 %setup -q
-%patch0 -p0
 
 %build
-%configure --with-ncurses
+%configure --with-ncurses --disable-static
+
+# remove rpath from libtool
+# shamelessly stolen from cinepaint.spec (thanks!)
+sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
 make %{?_smp_mflags}
 
 %install
@@ -97,7 +101,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/statgrab
 %{_bindir}/statgrab-make-mrtg-config
 %{_bindir}/statgrab-make-mrtg-index
-%{_mandir}/*/statgrab*
+%{_mandir}/*/*statgrab*
 %{_mandir}/*/saidar*
 
 %files
@@ -108,7 +112,6 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(-,root,root)
 %{_libdir}/*.so
-%{_libdir}/*.a
 %{_libdir}/*.la
 %{_includedir}/*.h
 %{_libdir}/pkgconfig/%name.pc
@@ -129,6 +132,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/vm_stats
 
 %changelog
+* Tue Aug 13 2013 Oliver Falk <oliver at linux-kernel.at> - 0.90-1
+- Update
+- Should fix BZ#925891
+
 * Mon Aug 20 2007 Patrick "Jima" Laughton <jima at beer.tclug.org> 0.13-4
 - License clarification
 - Fixed License tags for statgrab-tools and libstatgrab-examples
diff --git a/sources b/sources
index fa3adb1..1a74067 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-19818d772284c7491cdf484249890c95  libstatgrab-0.13.tar.gz
+b7c349c500fabc14d04c7c1ac7770d94  libstatgrab-0.90.tar.gz


More information about the scm-commits mailing list