Workaround to make it possible to build things

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=205
This commit is contained in:
Stefan Knorr 2018-10-23 10:07:37 +00:00 committed by Git OBS Bridge
parent 17894cad97
commit 8e4f93313a
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 23 10:07:12 UTC 2018 - sknorr@suse.com
- Workaround to make it possible to build things
-------------------------------------------------------------------
Fri Oct 19 14:02:11 UTC 2018 - rick.salevsky@suse.com

View File

@ -164,6 +164,10 @@ sed -i '1 s|/usr/bin/env python|/usr/bin/python|' libexec/daps-xmlwellformed
%install
make install DESTDIR=$RPM_BUILD_ROOT
# FIXME: temporary workaround for buildstep that is not executed... start workaround vvv
sed -i 's_\(xml:base\)="[^"]*"_\1="file:///usr/share/daps/daps-xslt/"_g' $RPM_BUILD_ROOT/%{_sysconfdir}/xml/catalog.d/%{name}.xml
# ^^^ end workaround
# create symlinks:
%fdupes -s $RPM_BUILD_ROOT/%{_datadir}