From 8f9311d7c5d870e1294f0a735227c90527568e68094a3259f244df8e6cbbdf78 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 11 Oct 2014 18:22:19 +0000 Subject: [PATCH] Use original tarballs OBS-URL: https://build.opensuse.org/package/show/science/cddlib?expand=0&rev=7 --- cddlib-094g.tar.gz | 3 +++ cddlib-094g.tar.xz | 3 --- cddlib.changes | 5 +++++ cddlib.spec | 24 +++++++++++++----------- 4 files changed, 21 insertions(+), 14 deletions(-) create mode 100644 cddlib-094g.tar.gz delete mode 100644 cddlib-094g.tar.xz diff --git a/cddlib-094g.tar.gz b/cddlib-094g.tar.gz new file mode 100644 index 0000000..370b19c --- /dev/null +++ b/cddlib-094g.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af1b81226514abf731800e2e104def8a7274817d7e645693f8b99fc2b1432155 +size 1383388 diff --git a/cddlib-094g.tar.xz b/cddlib-094g.tar.xz deleted file mode 100644 index 7d3c8c3..0000000 --- a/cddlib-094g.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f23178213b9bcdc38878f1997d26248e0699d986775546a5216357b2ca8d9504 -size 780540 diff --git a/cddlib.changes b/cddlib.changes index 7ba4a9f..dbfb989 100644 --- a/cddlib.changes +++ b/cddlib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Oct 11 18:22:10 UTC 2014 - jengelh@inai.de + +- Use source URLs + ------------------------------------------------------------------- Tue Aug 21 23:03:03 UTC 2012 - jengelh@inai.de diff --git a/cddlib.spec b/cddlib.spec index d05679f..5acfa9b 100644 --- a/cddlib.spec +++ b/cddlib.spec @@ -1,7 +1,7 @@ # # spec file for package cddlib # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,22 +15,24 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: cddlib %define lname libcdd0 Version: 0.94g Release: 0 Summary: Library for finding vertices of convex polytopes -Group: Productivity/Scientific/Math License: GPL-2.0+ -URL: http://www.ifor.math.ethz.ch/~fukuda/cdd_home/ +Group: Productivity/Scientific/Math +Url: http://www.ifor.math.ethz.ch/~fukuda/cdd_home/ -Source: cddlib-094g.tar.xz -Patch1: cddlib-flags.diff -Patch2: cddlib-automake.diff +Source: ftp://ftp.ifor.math.ethz.ch/pub/fukuda/cdd/%name-094g.tar.gz +Patch1: cddlib-flags.diff +Patch2: cddlib-automake.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: autoconf, automake, libtool +BuildRequires: autoconf +BuildRequires: automake BuildRequires: gmp-devel >= 3 -BuildRequires: xz +BuildRequires: libtool %description cddlib is a C implementation of the Double Description Method of @@ -51,7 +53,8 @@ of linear inequalities. %package devel Summary: Development files for cddlib Group: Development/Libraries/C and C++ -Requires: %lname = %version, gmp-devel +Requires: %lname = %version +Requires: gmp-devel %description devel cddlib is a C implementation of the Double Description Method of @@ -72,8 +75,7 @@ make %{?_smp_mflags} make install DESTDIR="%buildroot"; rm -f "%buildroot/%_libdir"/*.la; -%post -n %lname -p /sbin/ldconfig - +%post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname