build: Support builds via rpmdistro-gitoverlay
See similar changes in glib2.spec I made a long time ago, several buildsystems previous.
This commit is contained in:
parent
ece4e85134
commit
4dd2f01fe9
@ -8,6 +8,8 @@ License: LGPLv2+
|
||||
URL: https://flatpak.github.io/
|
||||
Source0: https://github.com/flatpak/flatpak/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: automake autoconf libtool
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: pkgconfig(fuse)
|
||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||
BuildRequires: pkgconfig(json-glib-1.0)
|
||||
@ -93,8 +95,9 @@ This package contains libflatpak.
|
||||
|
||||
|
||||
%build
|
||||
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
|
||||
# User namespace support is sufficient.
|
||||
%configure --with-dwarf-header=%{_includedir}/libdwarf --with-priv-mode=none
|
||||
%configure --with-dwarf-header=%{_includedir}/libdwarf --with-priv-mode=none $CONFIGFLAGS)
|
||||
%make_build V=1
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user