[packages/gstreamer-plugins-bad] fix build without examples/apidocs
atler
atler at pld-linux.org
Thu Feb 10 17:32:12 CET 2022
commit 89e5f30542a4acd4941bd5f2d8e4de194ab7a1e4
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Feb 10 17:16:40 2022 +0100
fix build without examples/apidocs
gstreamer-plugins-bad.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gstreamer-plugins-bad.spec b/gstreamer-plugins-bad.spec
index 916fdff..baf0821 100644
--- a/gstreamer-plugins-bad.spec
+++ b/gstreamer-plugins-bad.spec
@@ -1309,7 +1309,7 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{gstname}-%{gstmver}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README RELEASE
-%attr(755,root,root) %{_bindir}/playout
+%{?with_examples:%attr(755,root,root) %{_bindir}/playout}
%attr(755,root,root) %{_libdir}/libgstadaptivedemux-%{gstmver}.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libgstadaptivedemux-%{gstmver}.so.0
%attr(755,root,root) %{_libdir}/libgstbadaudio-%{gstmver}.so.*.*.*
@@ -1705,10 +1705,12 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/gstreamer-%{gstmver}/gst/transcoder
%{_pkgconfigdir}/gstreamer-transcoder-%{gstmver}.pc
+%if %{with apidocs}
%files -n gstreamer-transcoder-apidocs
%defattr(644,root,root,755)
%{_docdir}/gstreamer-%{gstmver}/transcode-doc
%{_docdir}/gstreamer-%{gstmver}/transcoder-doc
+%endif
##
## Plugins
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gstreamer-plugins-bad.git/commitdiff/1a628dcdfeaaa45274c1196965cd3c36c2daeeb4
More information about the pld-cvs-commit
mailing list