Accepting request 914870 from home:plater

Disabled doc build and test for Leap build

OBS-URL: https://build.opensuse.org/request/show/914870
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/serd?expand=0&rev=30
This commit is contained in:
Dave Plater 2021-08-29 10:24:27 +00:00 committed by Git OBS Bridge
parent e99f2fc4dc
commit b12233a1a3
2 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Aug 29 09:55:41 UTC 2021 - Dave Plater <davejplater@gmail.com>
- Disabled doc build and test for Leap build
-------------------------------------------------------------------
Sun Jul 4 19:53:19 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -69,9 +69,11 @@ export CXXFLAGS='%{optflags}'
./waf configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--docdir=%{_defaultdocdir} \
%if 0%{?suse_version} > 1501
--test \
--docs
--docs \
%endif
--docdir=%{_defaultdocdir} \
./waf build -v %{?_smp_mflags}
@ -79,8 +81,10 @@ export CXXFLAGS='%{optflags}'
./waf install --destdir=%{?buildroot}
rm -rf %{buildroot}%{_docdir}/serd-0/html
%if 0%{?suse_version} > 1501
%check
./waf test
%endif
%post -n libserd-0-%{sover} -p /sbin/ldconfig
%postun -n libserd-0-%{sover} -p /sbin/ldconfig
@ -95,7 +99,9 @@ rm -rf %{buildroot}%{_docdir}/serd-0/html
%{_libdir}/libserd-0.so.%{sover}*
%files devel
%if 0%{?suse_version} > 1501
%doc %{_docdir}/serd-0
%endif
%{_libdir}/libserd-0.so
%{_includedir}/serd-0/
%{_libdir}/pkgconfig/serd-0.pc