From 70d271153133b6825801ee60be5fec843b219244 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 16 May 2016 10:41:04 +0300 Subject: [PATCH] try mdds-1.0 pkg-config --- ixion.spec | 10 ++++++---- mdds-1.0.patch | 11 +++++++++++ 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 mdds-1.0.patch diff --git a/ixion.spec b/ixion.spec index 467c8a2..6df712c 100644 --- a/ixion.spec +++ b/ixion.spec @@ -6,19 +6,20 @@ Summary: Generic formula compulation library Summary(pl.UTF-8): Ogólna biblioteka do obliczania wzorów Name: ixion Version: 0.9.1 -Release: 7 +Release: 8 License: MIT Group: Libraries #Source0Download: https://gitlab.com/ixion/ixion -Source0: http://kohei.us/files/ixion/src/libixion-%{version}.tar.xz +Source0: http://kohei.us/files/ixion/src/lib%{name}-%{version}.tar.xz # Source0-md5: d292f6d62847f2305178459390842eac +Patch0: mdds-1.0.patch URL: https://gitlab.com/ixion/ixion BuildRequires: autoconf >= 2.63 BuildRequires: automake >= 1:1.11 BuildRequires: boost-devel >= 1.36 BuildRequires: libstdc++-devel BuildRequires: libtool >= 2:2 -BuildRequires: mdds-devel >= 0.12.0 +BuildRequires: mdds-devel >= 1.0 BuildRequires: pkgconfig BuildRequires: python >= 1:2.7.0 BuildRequires: python-modules @@ -94,7 +95,8 @@ Python interface to ixion library. Interfejs Pythona do biblioteki ixion. %prep -%setup -q -n libixion-%{version} +%setup -q -n lib%{name}-%{version} +%patch0 -p1 %build %{__libtoolize} diff --git a/mdds-1.0.patch b/mdds-1.0.patch new file mode 100644 index 0000000..ea41f46 --- /dev/null +++ b/mdds-1.0.patch @@ -0,0 +1,11 @@ +--- libixion-0.9.1/configure.ac~ 2015-04-05 16:32:05.000000000 +0300 ++++ libixion-0.9.1/configure.ac 2016-05-16 10:39:00.091308725 +0300 +@@ -79,7 +79,7 @@ + fi + + # Check for mdds. +-PKG_CHECK_MODULES([MDDS],[mdds >= 0.12.0]) ++PKG_CHECK_MODULES([MDDS],[mdds-1.0]) + + # Check for python. + PKG_CHECK_MODULES([PYTHON], [python >= 0.27.1]) -- 2.44.0