rpms/cloog/F-11 cloog.spec,1.7,1.8
Dodji Seketeli
dodji at fedoraproject.org
Sun Aug 16 10:46:50 UTC 2009
Author: dodji
Update of /cvs/pkgs/rpms/cloog/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22499
Modified Files:
cloog.spec
Log Message:
* Sat Aug 15 2009 Dodji Seketeli <dodji at redhat.com> - 0.15.7-1
- Update to new upstream version (0.15.7)
- Do not build from git snapshot anymore. Rather, got the tarball from
ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.7.tar.gz
- The upstream tarball is named cloog-ppl, not cloog.
- Use system libtool to disable standard rpath
- Do not try to touch the info file if it's not present. Closes #515929.
Index: cloog.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cloog/F-11/cloog.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- cloog.spec 7 Jul 2009 08:28:59 -0000 1.7
+++ cloog.spec 16 Aug 2009 10:46:50 -0000 1.8
@@ -1,23 +1,21 @@
%define git_revision gitb9d79
Name: cloog
-Version: 0.15
-Release: 0.9.%{git_revision}%{?dist}
+%define tarball_name %{name}-ppl
+Version: 0.15.7
+Release: 1%{?dist}
+#Release: 0.9.%{git_revision}%{?dist}
Summary: The Chunky Loop Generator
Group: System Environment/Libraries
License: GPLv2+
URL: http://www.cloog.org
-# The source of this package was pulled from upstream vcs.
-# Please use the following commands to regenerate the tarball:
-# git clone git://repo.or.cz/cloog-ppl.git cloog.git
-# cd cloog.git
-# ./autogen.sh
-# configure --with-ppl
-# make distcheck
-Source0: %{name}-%{version}-%{git_revision}.tar.gz
-Source1: README.cloog.txt
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: ppl-devel >= 0.10, gmp-devel >= 4.1.3, texinfo >= 4.12
+Source0: %{tarball_name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{tarball_name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: ppl-devel >= 0.10
+BuildRequires: gmp-devel >= 4.1.3
+BuildRequires: texinfo >= 4.12
+BuildRequires: libtool
+
Requires(post): info
Requires(preun): info
@@ -42,15 +40,18 @@ Requires: ppl-devel >= 0.10, gmp-d
The header files and dynamic shared libraries of the Chunky Loop Generator.
%prep
-%setup -q
+%setup -q -n %{tarball_name}-%{version}
%build
%configure --with-ppl
+
# Remove the cloog.info in the tarball
# to force the re-generation of a new one
test -f doc/cloog.info && rm doc/cloog.info
+
# Remove the -fomit-frame-pointer compile flag
-make %{?_smp_mflags} AM_CFLAGS=
+# Use system libtool to disable standard rpath
+make %{?_smp_mflags} AM_CFLAGS= LIBTOOL=%{_bindir}/libtool
%install
@@ -76,16 +77,27 @@ rm -rf $RPM_BUILD_ROOT
%post ppl
/sbin/ldconfig
-/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
+test -f %{_infodir}/%{name}.info \
+ && /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
%preun ppl
if [ $1 = 0 ] ; then
- /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
+ test -f %{_infodir}/%{name}.info \
+ && /sbin/install-info \
+ --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi
%postun ppl -p /sbin/ldconfig
%changelog
+* Sat Aug 15 2009 Dodji Seketeli <dodji at redhat.com> - 0.15.7-1
+- Update to new upstream version (0.15.7)
+- Do not build from git snapshot anymore. Rather, got the tarball from
+ ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.7.tar.gz
+- The upstream tarball is named cloog-ppl, not cloog. Adjuted thusly.
+- Use system libtool to disable standard rpath
+- Do not try to touch the info file if it's not present. Closes #515929.
+
* Tue Jul 07 2009 Dodji Seketeli <dodji at redhat.com> - 0.15-0.9.gitb9d79
- Update to new upstream git snapshot.
- Update some comments in the spec file.
More information about the scm-commits
mailing list