[packages/ixion] try mdds-1.0 pkg-config

glen glen at pld-linux.org
Mon May 16 09:41:28 CEST 2016


commit 70d271153133b6825801ee60be5fec843b219244
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon May 16 10:41:04 2016 +0300

    try mdds-1.0 pkg-config

 ixion.spec     | 10 ++++++----
 mdds-1.0.patch | 11 +++++++++++
 2 files changed, 17 insertions(+), 4 deletions(-)
---
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])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ixion.git/commitdiff/70d271153133b6825801ee60be5fec843b219244



More information about the pld-cvs-commit mailing list