From fb2decfe50360200e255259f39454af2343cf6ff Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 5 Apr 2019 16:40:33 +0200 Subject: [PATCH] Replace hard-coded /usr/bin with _bindir macro for flatpak build --- liborcus.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/liborcus.spec b/liborcus.spec index dc845bd..b2a27c3 100644 --- a/liborcus.spec +++ b/liborcus.spec @@ -7,7 +7,7 @@ Name: liborcus Version: 0.14.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Standalone file import filter library for spreadsheet documents License: MPLv2.0 @@ -100,12 +100,12 @@ rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{python3_sitearch}/*.la %if %{with convtools} # create and install man pages export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} -help2man -N -S '%{name} %{version}' -n 'convert a CSV file' -o orcus-csv.1 %{buildroot}/usr/bin/orcus-csv -help2man -N -S '%{name} %{version}' -n 'convert a Gnumeric file' -o orcus-gnumeric.1 %{buildroot}/usr/bin/orcus-gnumeric -help2man -N -S '%{name} %{version}' -n 'convert an ODF spreadsheet' -o orcus-ods.1 %{buildroot}/usr/bin/orcus-ods -help2man -N -S '%{name} %{version}' -n 'transform an XML file' -o orcus-xls-xml.1 %{buildroot}/usr/bin/orcus-xls-xml -help2man -N -S '%{name} %{version}' -n 'convert a OpenXML spreadsheet' -o orcus-xlsx.1 %{buildroot}/usr/bin/orcus-xlsx -help2man -N -S '%{name} %{version}' -n 'convert an XML file' -o orcus-xml.1 %{buildroot}/usr/bin/orcus-xml +help2man -N -S '%{name} %{version}' -n 'convert a CSV file' -o orcus-csv.1 %{buildroot}%{_bindir}/orcus-csv +help2man -N -S '%{name} %{version}' -n 'convert a Gnumeric file' -o orcus-gnumeric.1 %{buildroot}%{_bindir}/orcus-gnumeric +help2man -N -S '%{name} %{version}' -n 'convert an ODF spreadsheet' -o orcus-ods.1 %{buildroot}%{_bindir}/orcus-ods +help2man -N -S '%{name} %{version}' -n 'transform an XML file' -o orcus-xls-xml.1 %{buildroot}%{_bindir}/orcus-xls-xml +help2man -N -S '%{name} %{version}' -n 'convert a OpenXML spreadsheet' -o orcus-xlsx.1 %{buildroot}%{_bindir}/orcus-xlsx +help2man -N -S '%{name} %{version}' -n 'convert an XML file' -o orcus-xml.1 %{buildroot}%{_bindir}/orcus-xml install -m 0755 -d %{buildroot}/%{_mandir}/man1 install -p -m 0644 orcus-*.1 %{buildroot}/%{_mandir}/man1 %endif @@ -182,6 +182,9 @@ make check %{?_smp_mflags} %doc doc/_doxygen/html %changelog +* Fri Apr 05 2019 Stephan Bergmann - 0.14.1-4 +- Replace hard-coded /usr/bin with _bindir macro for flatpak build + * Fri Feb 01 2019 Fedora Release Engineering - 0.14.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild