diff --git a/gfan.changes b/gfan.changes index 7a829f2..24fc6e2 100644 --- a/gfan.changes +++ b/gfan.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Mar 18 21:47:55 UTC 2012 - scorot@free.fr + +- recompress source to bz2 for SLE +- use %%makeinstall macro instead of %%make_install + ------------------------------------------------------------------- Tue Sep 27 01:02:28 UTC 2011 - jengelh@medozas.de diff --git a/gfan.spec b/gfan.spec index e92ff05..15b185e 100644 --- a/gfan.spec +++ b/gfan.spec @@ -24,12 +24,12 @@ Summary: Calculation of Gröbner fans License: GPL-2.0 URL: http://home.imf.au.dk/jensen/software/gfan/gfan.html -Source: %name%version.tar.xz +Source: %name%version.tar.bz2 Patch1: gfan-automake.diff Patch2: gfan-format.diff Patch3: gfan-returns.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: cddlib-devel, gcc-c++, gmp-devel, xz +BuildRequires: cddlib-devel, gcc-c++, gmp-devel %define with_pdf 1 %if 0%{?with_pdf} BuildRequires: texlive-latex @@ -62,7 +62,12 @@ varieties. These are polyhedral fans associated to polynomial ideals. %build autoreconf -fi; +%if 0%{?suse_version} <= 1110 +# -Wno-unused-result is not a recognized option of gcc 4.3 +export CXXFLAGS="%optflags -Wno-sign-compare -Wno-reorder -Wno-unused"; +%else export CXXFLAGS="%optflags -Wno-sign-compare -Wno-reorder -Wno-unused -Wno-unused-result"; +%endif %configure --disable-static make %{?_smp_mflags}; %if 0%{?with_pdf} @@ -71,7 +76,7 @@ make -C doc %{?_smp_mflags}; %install b="%buildroot"; -%make_install +%makeinstall find "$b" -type f -name "*.la" -delete; %files diff --git a/gfan0.5.tar.bz2 b/gfan0.5.tar.bz2 new file mode 100644 index 0000000..efd13ae --- /dev/null +++ b/gfan0.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bcc163ddf01a987008b70439dbc9287d4490bc315b7ffd6bf6b5f47be8067a6c +size 947375 diff --git a/gfan0.5.tar.xz b/gfan0.5.tar.xz deleted file mode 100644 index c1d9973..0000000 --- a/gfan0.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d04a05ff4b5554f182ff254e94dd23c325170c6f2ceb2f773212e704681c6661 -size 726408