diff --git a/cddlib-094f.tar.bz2 b/cddlib-094f.tar.bz2 new file mode 100644 index 0000000..2148010 --- /dev/null +++ b/cddlib-094f.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:02dd983fab97d98f56e22d6dc46beee4973f82afb05612f0fe909a56049e4a9f +size 1221857 diff --git a/cddlib-094f.tar.xz b/cddlib-094f.tar.xz deleted file mode 100644 index 4615402..0000000 --- a/cddlib-094f.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9366e0a2ac5e0aa249c27813d5fa518df3270c79540d822221791b7cc7832dde -size 944252 diff --git a/cddlib.changes b/cddlib.changes new file mode 100644 index 0000000..d68ef24 --- /dev/null +++ b/cddlib.changes @@ -0,0 +1,7 @@ +------------------------------------------------------------------- +Sun Feb 26 12:04:08 UTC 2012 - scorot@free.fr + +- bzip2 source file instead of xv which is unsupported on SLE +- fix %%make_install for SLE-11 +- remove unneeded xv build requirement + diff --git a/cddlib.spec b/cddlib.spec index 12f23d5..e6d4965 100644 --- a/cddlib.spec +++ b/cddlib.spec @@ -24,11 +24,11 @@ Group: Productivity/Scientific/Math License: GPL-2.0+ URL: http://www.ifor.math.ethz.ch/~fukuda/cdd_home/ -Source: cddlib-094f.tar.xz +Source: cddlib-094f.tar.bz2 Patch1: cddlib-shared.diff Patch2: cddlib-flags.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: gmp-devel >= 3, xz +BuildRequires: gmp-devel >= 3 %description cddlib is a C implementation of the Double Description Method of @@ -67,7 +67,11 @@ autoreconf -fi; make %{?_smp_mflags} %install +%if 0%{sles_version} <= 11 +%makeinstall +%else %make_install +%endif find "%buildroot" -name "*.la" -delete; %post -n %lname -p /sbin/ldconfig