Update ding-libs.spec to allow flatpak builds.
Flatpaks are using different prefix so the `rm -f` were making it fail to build. Flatpak doc location is at `/app/share/doc/ding-libs/...` This change makes flatpak builds happy.
This commit is contained in:
parent
80353c1fc8
commit
fdf4504838
@ -319,9 +319,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||
# We will copy them directly from the source directory
|
||||
# for packaging
|
||||
rm -f \
|
||||
$RPM_BUILD_ROOT/usr/share/doc/ding-libs/README.* \
|
||||
$RPM_BUILD_ROOT/usr/share/doc/ding-libs/examples/dhash_example.c \
|
||||
$RPM_BUILD_ROOT/usr/share/doc/ding-libs/examples/dhash_test.c
|
||||
$RPM_BUILD_ROOT%{_datadir}/doc/ding-libs/README.* \
|
||||
$RPM_BUILD_ROOT%{_datadir}/doc/ding-libs/examples/dhash_example.c \
|
||||
$RPM_BUILD_ROOT%{_datadir}/doc/ding-libs/examples/dhash_test.c
|
||||
|
||||
# Remove document install script. RPM is handling this
|
||||
rm -f */doc/html/installdox
|
||||
|
Loading…
Reference in New Issue
Block a user