[packages/ixion] - updated to 0.12.0 (new soname, API 0.12) - updated flags patch

qboosh qboosh at pld-linux.org
Mon Aug 29 21:57:37 CEST 2016


commit 9c6a3addb40be9248704dea2371369ce09dec04c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Aug 29 21:58:49 2016 +0200

    - updated to 0.12.0 (new soname, API 0.12)
    - updated flags patch

 ixion-flags.patch | 20 +++++++++-----------
 ixion.spec        | 26 +++++++++++++++-----------
 2 files changed, 24 insertions(+), 22 deletions(-)
---
diff --git a/ixion.spec b/ixion.spec
index 7596a67..8de1a44 100644
--- a/ixion.spec
+++ b/ixion.spec
@@ -5,13 +5,13 @@
 Summary:	Generic formula compulation library
 Summary(pl.UTF-8):	Ogólna biblioteka do obliczania wzorów
 Name:		ixion
-Version:	0.11.1
-Release:	2
+Version:	0.12.0
+Release:	1
 License:	MPL v2.0
 Group:		Libraries
 #Source0Download: https://gitlab.com/ixion/ixion
 Source0:	http://kohei.us/files/ixion/src/libixion-%{version}.tar.xz
-# Source0-md5:	891fac2bb0d0e17382526649ed4ad9ea
+# Source0-md5:	427da1c197c6d7eab954f88b5be0a952
 Patch0:		%{name}-flags.patch
 URL:		https://gitlab.com/ixion/ixion
 BuildRequires:	autoconf >= 2.63
@@ -21,12 +21,15 @@ BuildRequires:	libstdc++-devel >= 6:4.7
 BuildRequires:	libtool >= 2:2
 BuildRequires:	mdds-devel >= 1.2.0
 BuildRequires:	pkgconfig
-BuildRequires:	python3 >= 1:3.2
-BuildRequires:	python3-devel >= 1:3.2
+BuildRequires:	python3 >= 1:3.4
+BuildRequires:	python3-devel >= 1:3.4
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# __once_call, __once_callable non-function symbols
+%define		skip_post_check_so	libixion-0.12.so.*
+
 %description
 Ixion aims to provide a library for calculating the results of formula
 expressions stored in multiple named targets, or "cells". The cells
@@ -87,6 +90,7 @@ Summary:	Python 3 interface to ixion library
 Summary(pl.UTF-8):	Interfejs Pythona 3 do biblioteki ixion
 Group:		Libraries/Python
 Requires:	%{name} = %{version}-%{release}
+Requires:	python3-libs >= 1:3.4
 # python 2 is no longer supported
 Obsoletes:	python-ixion
 
@@ -135,19 +139,19 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS LICENSE README
 %attr(755,root,root) %{_bindir}/ixion-parser
 %attr(755,root,root) %{_bindir}/ixion-sorter
-%attr(755,root,root) %{_libdir}/libixion-0.11.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libixion-0.11.so.0
+%attr(755,root,root) %{_libdir}/libixion-0.12.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libixion-0.12.so.0
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libixion-0.11.so
-%{_includedir}/libixion-0.11
-%{_pkgconfigdir}/libixion-0.11.pc
+%attr(755,root,root) %{_libdir}/libixion-0.12.so
+%{_includedir}/libixion-0.12
+%{_pkgconfigdir}/libixion-0.12.pc
 
 %if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/libixion-0.11.a
+%{_libdir}/libixion-0.12.a
 %endif
 
 %files -n python3-ixion
diff --git a/ixion-flags.patch b/ixion-flags.patch
index cd1ad63..c746607 100644
--- a/ixion-flags.patch
+++ b/ixion-flags.patch
@@ -1,12 +1,10 @@
---- libixion-0.11.1/configure.ac.orig	2016-04-05 02:48:42.000000000 +0200
-+++ libixion-0.11.1/configure.ac	2016-05-15 21:56:19.338952688 +0200
-@@ -94,8 +94,7 @@
- AM_CONDITIONAL([BUILD_PYTHON], [test "x$enable_python" != "xno"])
- AM_CONDITIONAL([OSX], [test "x$_os" = "xDarwin"])
+--- libixion-0.12.0/configure.ac.orig	2016-08-29 21:45:09.723013101 +0200
++++ libixion-0.12.0/configure.ac	2016-08-29 21:49:08.983010369 +0200
+@@ -95,7 +95,6 @@
+ AS_IF([test "x$enable_debug" != "xno"], [
+ 	CXXFLAGS="$CXXFLAGS -g -O0"
+ ], [
+-	CXXFLAGS="$CXXFLAGS -O2"
+ 	AC_DEFINE([NDEBUG], [], [Disable debugging information])
+ ])
  
--CPPFLAGS="$CPPFLAGS -g -O2 -fvisibility=hidden -I/usr/local/include"
--LDFLAGS="-L/usr/local/lib"
-+CPPFLAGS="$CPPFLAGS -fvisibility=hidden"
- 
- BOOST_THREADS
- BOOST_PROGRAM_OPTIONS
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ixion.git/commitdiff/9c6a3addb40be9248704dea2371369ce09dec04c



More information about the pld-cvs-commit mailing list