[polyml] Rebuild for GCC 4.7. Minor spec file cleanups.

Jerry James jjames at fedoraproject.org
Sat Jan 7 19:29:53 UTC 2012


commit 3d14b3870de078858fb517f007121363e7d28d3b
Author: Jerry James <loganjerry at gmail.com>
Date:   Sat Jan 7 12:29:40 2012 -0700

    Rebuild for GCC 4.7.
    Minor spec file cleanups.

 polyml.spec |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/polyml.spec b/polyml.spec
index ce9488d..518cf96 100644
--- a/polyml.spec
+++ b/polyml.spec
@@ -1,6 +1,6 @@
 Name:           polyml
 Version:        5.4.1
-Release:        1%{?dist}.2
+Release:        2%{?dist}
 Summary:        Poly/ML compiler and runtime system
 
 Group:          Development/Languages
@@ -79,19 +79,14 @@ chrpath -d .libs/poly
 chrpath -d .libs/polyimport
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post libs -p /sbin/ldconfig
 
 %postun libs -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,-)
 %doc TODO.txt
 %{_bindir}/poly
 %{_bindir}/polyimport
@@ -101,15 +96,17 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/polyimport.1*
 
 %files doc
-%defattr(-,root,root,-)
 %doc docs index.html images
 
 %files libs
-%defattr(-,root,root,-)
 %doc COPYING
 %{_libdir}/libpolyml.so.*
 
 %changelog
+* Sat Jan  7 2012 Jerry James <loganjerry at gmail.com> - 5.4.1-2
+- Rebuild for GCC 4.7
+- Minor spec file cleanups
+
 * Wed Oct 26 2011 Marcela Mašláňová <mmaslano at redhat.com> - 5.4.1-1.2
 - rebuild with new gmp without compat lib
 


More information about the scm-commits mailing list