[hpic] New cfitsio (3.330)

Sergio Pascual sergiopr at fedoraproject.org
Wed Mar 20 15:47:13 UTC 2013


commit e320fcbac3011953ef85811db18eeff69deea636
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date:   Wed Mar 20 16:47:06 2013 +0100

    New cfitsio (3.330)
    
    - Removed rpath
    - Informed upstream of the incorrect address of the FSF

 hpic.spec |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/hpic.spec b/hpic.spec
index fa65edb..b226ed3 100644
--- a/hpic.spec
+++ b/hpic.spec
@@ -1,6 +1,6 @@
 Name:           hpic
 Version:        0.53.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Healpix manipulation binaries and library
 
 Group:          Development/Libraries
@@ -33,7 +33,9 @@ as well as a static library.
 
 
 %build
-%configure --disable-dependency-tracking --with-extra-includes=-I%{_includedir}/cfitsio
+%configure --disable-rpath --disable-dependency-tracking --with-extra-includes=-I%{_includedir}/cfitsio --disable-static
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 make %{?_smp_mflags}
 
 
@@ -42,10 +44,6 @@ rm -rf %{buildroot}
 mkdir -p %{buildroot}
 make DESTDIR=%{buildroot} SUID_ROOT="" install
 
-#Remove files we don't want packaged (BZ# 556055)
-rm -f %{buildroot}/%{_libdir}/libhpic.la
-rm -f %{buildroot}/%{_libdir}/libhpic.a
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
@@ -54,13 +52,18 @@ rm -f %{buildroot}/%{_libdir}/libhpic.a
 %doc README NEWS COPYING AUTHORS ChangeLog doc/hpic.pdf
 %{_libdir}/libhpic.so.*
 %{_bindir}/hpic*
+%exclude %{_libdir}/libhpic.la
 
 %files devel
-%defattr(-,root,root)
 %{_libdir}/libhpic.so
 %{_includedir}/hpic.h
 
 %changelog
+* Wed Mar 20 2013 Sergio Pascual <sergiopr at fedoraproject.org> - 0.53.1-3
+- New cfitsio (3.330)
+- Removed rpath
+- Informed upstream of the incorrect address of the FSF
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.53.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
@@ -107,7 +110,7 @@ rm -f %{buildroot}/%{_libdir}/libhpic.a
 - Bump revision number for FC5 mass rebuild.
 
 * Sat Dec 24 2005 Matthew Truch <matt at truch.net> - 0.52-5
-- Include missing %defattr for devel package (bug 173090).
+- Include missing defattr for devel package (bug 173090).
 
 * Mon Nov 14 2005 Matthew Truch <matt at truch.net> - 0.52-4
 - Bump revision to make build system build.


More information about the scm-commits mailing list