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:
parent
e99f2fc4dc
commit
b12233a1a3
@ -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>
|
Sun Jul 4 19:53:19 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
10
serd.spec
10
serd.spec
@ -69,9 +69,11 @@ export CXXFLAGS='%{optflags}'
|
|||||||
./waf configure \
|
./waf configure \
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--libdir=%{_libdir} \
|
--libdir=%{_libdir} \
|
||||||
--docdir=%{_defaultdocdir} \
|
%if 0%{?suse_version} > 1501
|
||||||
--test \
|
--test \
|
||||||
--docs
|
--docs \
|
||||||
|
%endif
|
||||||
|
--docdir=%{_defaultdocdir} \
|
||||||
|
|
||||||
./waf build -v %{?_smp_mflags}
|
./waf build -v %{?_smp_mflags}
|
||||||
|
|
||||||
@ -79,8 +81,10 @@ export CXXFLAGS='%{optflags}'
|
|||||||
./waf install --destdir=%{?buildroot}
|
./waf install --destdir=%{?buildroot}
|
||||||
rm -rf %{buildroot}%{_docdir}/serd-0/html
|
rm -rf %{buildroot}%{_docdir}/serd-0/html
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1501
|
||||||
%check
|
%check
|
||||||
./waf test
|
./waf test
|
||||||
|
%endif
|
||||||
|
|
||||||
%post -n libserd-0-%{sover} -p /sbin/ldconfig
|
%post -n libserd-0-%{sover} -p /sbin/ldconfig
|
||||||
%postun -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}*
|
%{_libdir}/libserd-0.so.%{sover}*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
%if 0%{?suse_version} > 1501
|
||||||
%doc %{_docdir}/serd-0
|
%doc %{_docdir}/serd-0
|
||||||
|
%endif
|
||||||
%{_libdir}/libserd-0.so
|
%{_libdir}/libserd-0.so
|
||||||
%{_includedir}/serd-0/
|
%{_includedir}/serd-0/
|
||||||
%{_libdir}/pkgconfig/serd-0.pc
|
%{_libdir}/pkgconfig/serd-0.pc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user