From a0797809e4874a405552b6a9d440f71693f4c34fd68627a0ff799161ab18d3c7 Mon Sep 17 00:00:00 2001 From: Corot Sebastien Date: Sun, 26 Feb 2012 12:12:08 +0000 Subject: [PATCH] - bzip2 source file instead of xv which is unsupported on SLE - fix %%make_install for SLE-11 - remove unneeded xv build requirement OBS-URL: https://build.opensuse.org/package/show/science/cddlib?expand=0&rev=3 --- cddlib-094f.tar.bz2 | 3 +++ cddlib-094f.tar.xz | 3 --- cddlib.changes | 7 +++++++ cddlib.spec | 8 ++++++-- 4 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 cddlib-094f.tar.bz2 delete mode 100644 cddlib-094f.tar.xz create mode 100644 cddlib.changes 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