From 02d28d9be0d230ae7e089f3d364c8ad811c2cb27 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sat, 4 Dec 2021 10:46:57 +0100 Subject: [PATCH] - fix pkgconfig files, rel 2 --- lal.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lal.spec b/lal.spec index ee184eb..76e2fb4 100644 --- a/lal.spec +++ b/lal.spec @@ -3,7 +3,7 @@ Summary: LALSuite - various gravitational wave data analysis routines Summary(pl.UTF-8): LALSuite - różne procedury do analizy danych fal grawitacyjnych Name: lal Version: 7.1.4 -Release: 1 +Release: 2 License: GPL v2 Group: Applications/Science Source0: http://software.ligo.org/lscsoft/source/lalsuite/%{name}-%{version}.tar.xz @@ -124,6 +124,10 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +# Fix undefined variable genereted by configure +%{__sed} -i -e 's/\${PYTHON_EXEC_PREFIX}/\${prefix}/' \ + $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc + # obsoleted by pkg-config %{__rm} $RPM_BUILD_ROOT%{_libdir}/liblal*.la -- 2.44.0