Fix flatpak build
Installation path macros must be used when referencing installed file paths.
This commit is contained in:
parent
b2648c3949
commit
820314c6b5
@ -44,10 +44,10 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
for file in $RPM_BUILD_ROOT/usr/bin/*; do chrpath -d $file || true; done
|
||||
for file in $RPM_BUILD_ROOT%{_bindir}/*; do chrpath -d $file || true; done
|
||||
|
||||
(cd example && make clean && rm -rf .deps && rm Makefile)
|
||||
rm $RPM_BUILD_ROOT/usr/bin/libotf-config
|
||||
rm $RPM_BUILD_ROOT%{_bindir}/libotf-config
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user