Add explicit girdir and typelib_dir when building flatpak
When using this library in connection with flatpak, girdr and typelib_dir
must be explicit in configure section, because of pkg-config, which doesn't
recognize the paths correctly.
When building library without %{flatpak} macro set, there is no change.
This commit is contained in:
parent
ad7045d340
commit
b99a9558b6
@ -1,7 +1,7 @@
|
||||
Summary: GNOME Structured File library
|
||||
Name: libgsf
|
||||
Version: 1.14.43
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: LGPLv2
|
||||
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.14/%{name}-%{version}.tar.xz
|
||||
URL: http://www.gnome.org/projects/libgsf/
|
||||
@ -36,6 +36,9 @@ libgsf.
|
||||
|
||||
%build
|
||||
%configure --disable-gtk-doc --disable-static --enable-introspection=yes
|
||||
%if 0%{?flatpak}
|
||||
--with-typelib_dir=%{_libdir}/girepository-1.0 --with-gir-dir=%{_datadir}/gir-1.0
|
||||
%endif
|
||||
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
@ -75,6 +78,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
%{_mandir}/man1/gsf-vba-dump.1*
|
||||
|
||||
%changelog
|
||||
* Wed Aug 8 2019 Jan Beran <jaberan@redhat.com> - 1.14.43-6
|
||||
- Add explicit path for girdir and typelib_dir when building flatpak
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.43-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user