rpms/cloog/devel cloog.spec,1.8,1.9
Dodji Seketeli
dodji at fedoraproject.org
Sun Aug 16 10:44:11 UTC 2009
Author: dodji
Update of /cvs/pkgs/rpms/cloog/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22116
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. Adjusted thusly.
- 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/devel/cloog.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- cloog.spec 24 Jul 2009 19:07:16 -0000 1.8
+++ cloog.spec 16 Aug 2009 10:44:10 -0000 1.9
@@ -1,23 +1,21 @@
%define git_revision gitb9d79
Name: cloog
-Version: 0.15
-Release: 0.10.%{git_revision}%{?dist}
+%define tarball_name %{name}-ppl
+Version: 0.15.7
+Release: 1%{?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. Adjusted thusly.
+- Use system libtool to disable standard rpath
+- Do not try to touch the info file if it's not present. Closes #515929.
+
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.15-0.10.gitb9d79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the fedora-extras-commits
mailing list