From b12233a1a39e2995bed6eaa98347bc3bdf0881d5490999faa7670f378b174404 Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Sun, 29 Aug 2021 10:24:27 +0000 Subject: [PATCH] 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 --- serd.changes | 5 +++++ serd.spec | 16 +++++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/serd.changes b/serd.changes index d680d6b..3379b8a 100644 --- a/serd.changes +++ b/serd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Aug 29 09:55:41 UTC 2021 - Dave Plater + +- Disabled doc build and test for Leap build + ------------------------------------------------------------------- Sun Jul 4 19:53:19 UTC 2021 - Dirk Müller diff --git a/serd.spec b/serd.spec index 55061ef..fd88c99 100644 --- a/serd.spec +++ b/serd.spec @@ -67,11 +67,13 @@ for i in `grep -rl "%{_bindir}/env python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/py export CFLAGS='%{optflags} -std=gnu99' export CXXFLAGS='%{optflags}' ./waf configure \ - --prefix=%{_prefix} \ - --libdir=%{_libdir} \ - --docdir=%{_defaultdocdir} \ - --test \ - --docs + --prefix=%{_prefix} \ + --libdir=%{_libdir} \ +%if 0%{?suse_version} > 1501 + --test \ + --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