[libctl/f14] Update to 3.1

Deji Akingunola deji at fedoraproject.org
Wed Jul 13 01:01:47 UTC 2011


commit 3a8d04399cd3c7aa3a62dcbae64661a35b438d2e
Author: Deji Akingunola <dakingun at mail.com>
Date:   Tue Jul 12 21:03:35 2011 -0400

    Update to 3.1

 libctl-3.0.2-undefined_nonweak_symbs.patch |   11 -----------
 libctl.spec                                |   28 ++++++++++++----------------
 sources                                    |    2 +-
 3 files changed, 13 insertions(+), 28 deletions(-)
---
diff --git a/libctl.spec b/libctl.spec
index 87601b5..3ede4fe 100644
--- a/libctl.spec
+++ b/libctl.spec
@@ -1,6 +1,6 @@
 Name:           libctl
-Version:        3.0.2
-Release:        10%{?dist}
+Version:        3.1
+Release:        1%{?dist}
 Summary:        Guile-based support for flexible control files
 
 Group:          System Environment/Libraries
@@ -10,10 +10,6 @@ Group:          System Environment/Libraries
 License:        GPLv2+
 URL:            http://ab-initio.mit.edu/wiki/index.php/Libctl
 Source0:        http://ab-initio.mit.edu/libctl/libctl-%{version}.tar.gz
-Patch0:         libctl-3.0.2-undefined_nonweak_symbs.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  autoconf, automake, libtool
 BuildRequires:  gcc-gfortran, guile-devel
 Requires:       guile
 
@@ -31,22 +27,16 @@ This package contains the development files for libctl.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-libtoolize
-autoreconf
 %configure F77=gfortran --enable-shared --disable-static \
-  --includedir=%{_includedir}/ctl
+  --includedir=%{_includedir}/ctl LDFLAGS='%{optflags} -lm'
 make %{?_smp_mflags}
 
 %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
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+rm -f %{buildroot}%{_libdir}/*.la
 
 %post -p /sbin/ldconfig
 
@@ -67,6 +57,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/libctl
 
 %changelog
+* Tue Jul 12 2011 Deji Akingunola <dakingun at gmail.com> - 3.1-1
+- Update to 3.1
+
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.2-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.2-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 
diff --git a/sources b/sources
index d463d15..c54091b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dff367aa94e68a507678f0f3d48b1165  libctl-3.0.2.tar.gz
+173fdc658b652a4ddfb983efc849e760  libctl-3.1.tar.gz


More information about the scm-commits mailing list