From: Jakub Bogusz Date: Fri, 31 Jul 2020 18:00:09 +0000 (+0200) Subject: - shebang fix; release 6 (boost 1.73) X-Git-Tag: auto/th/vigra-1.11.1-6 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=f6a4d12be2d89a3ff2d6ff679088b1e2f8c02dac;p=packages%2Fvigra.git - shebang fix; release 6 (boost 1.73) --- diff --git a/vigra.spec b/vigra.spec index 690e07b..68a9294 100644 --- a/vigra.spec +++ b/vigra.spec @@ -3,7 +3,7 @@ Summary: Generic Programming for Computer Vision Summary(pl.UTF-8): Ogólne programowanie obrazu komputerowego Name: vigra Version: 1.11.1 -Release: 5 +Release: 6 License: MIT Group: Libraries #Source0Download: http://ukoethe.github.io/vigra/#download @@ -25,10 +25,11 @@ BuildRequires: libpng-devel >= 2:1.4.0 BuildRequires: libstdc++-devel >= 6:4.4 BuildRequires: libtiff-devel BuildRequires: pkgconfig -BuildRequires: python -BuildRequires: python-devel +BuildRequires: python >= 1:2.7 +BuildRequires: python-devel >= 1:2.7 BuildRequires: python-numpy-devel BuildRequires: rpmbuild(macros) >= 1.586 +BuildRequires: sed >= 4.0 BuildRequires: sphinx-pdg BuildRequires: zlib-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -115,6 +116,8 @@ Dokumentacja programisty do biblioteki vigra. %patch1 -p1 %patch2 -p1 +%{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' config/vigra-config.in + %build %cmake . \ -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \