From d96b8eb04a37b2f8e31923b934cdb2cb8d10942e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:41:40 +0100 Subject: [PATCH] rebuilt with python3 instead of python36 [release 0.16.1-2mamba;Wed Apr 28 2021] --- libixion.spec | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/libixion.spec b/libixion.spec index 481dca7..4e477ed 100644 --- a/libixion.spec +++ b/libixion.spec @@ -1,7 +1,7 @@ %define apiver %(echo %version | cut -d. -f1-2) Name: libixion Version: 0.16.1 -Release: 1mamba +Release: 2mamba Summary: A general purpose formula parser and interpreter that can calculate multiple named targets, or “cells” Group: System/Libraries Vendor: openmamba @@ -9,22 +9,19 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://gitorious.org/ixion/pages/Home Source: https://gitlab.com/ixion/ixion.git/%{version}/ixion-%{version}.tar.bz2 -#Source: http://kohei.us/files/ixion/src/libixion-%{version}.tar.xz Patch0: libixion-0.3.0-boost.m4.patch Patch1: libixion-0.3.0-automake.patch Patch2: libixion-0.5.0-libboost-1.52.patch License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: ldconfig BuildRequires: libboost-devel BuildRequires: libgcc -BuildRequires: libpython-devel +BuildRequires: libpython3-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: libboost-devel >= 1.69.0-2mamba BuildRequires: libspdlog-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Ixion is a general purpose formula parser & interpreter that can calculate multiple named targets, or “cells”. @@ -53,14 +50,13 @@ This package contains utility applications for %{name}. #%patch0 -p1 #%patch1 -p1 #%patch2 -p1 - -# Quick fix for python-3.6 -sed -i "s|python3 >= 3.4|python-3.6 >= 3.4|" configure.ac +./autogen.sh %build -./autogen.sh %configure \ - PYTHON=%{_bindir}/python3.6 PYTHON_LIBS=%{_libdir}/libpython3.6 + PYTHON=%{__python3} + +# PYTHON_LIBS=%{_libdir}/libpython3.6 %make @@ -77,8 +73,8 @@ sed -i "s|python3 >= 3.4|python-3.6 >= 3.4|" configure.ac %files %defattr(-,root,root) %{_libdir}/libixion-%{apiver}.so.* -%{_libdir}/python3.6/site-packages/ixion.la -%{_libdir}/python3.6/site-packages/ixion.so +%{python3_sitearch}/ixion.la +%{python3_sitearch}/ixion.so #%{python3_sitearch}/ixion.la #%{python3_sitearch}/ixion.so %doc AUTHORS @@ -102,6 +98,9 @@ sed -i "s|python3 >= 3.4|python-3.6 >= 3.4|" configure.ac #%{_bindir}/ixion-test %changelog +* Wed Apr 28 2021 Silvan Calarco 0.16.1-2mamba +- rebuilt with python3 instead of python36 + * Wed Nov 04 2020 Automatic Build System 0.16.1-1mamba - automatic version update by autodist