From a44fce07d3ea0f2c0bdde8587f0dc72b6bac4aeb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 27 Apr 2016 22:56:41 +0300 Subject: [PATCH] noarch apidocs --- gstreamer-vaapi.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gstreamer-vaapi.spec b/gstreamer-vaapi.spec index 018758f..b7770ce 100644 --- a/gstreamer-vaapi.spec +++ b/gstreamer-vaapi.spec @@ -2,7 +2,7 @@ # Conditional build: %bcond_without static_libs # static libraries %bcond_with api # GST VA-API libraries API [no longer exported as of 1.6.0] -# + %define gstapi 1.6 %define gst_ver 1.8.0 %define gstpb_ver 1.8.0 @@ -11,7 +11,7 @@ Summary: GStreamer plugin to support Video Acceleration API Summary(pl.UTF-8): Wtyczka GStreamera obsługująca Video Acceleration API Name: gstreamer-vaapi Version: 1.8.1 -Release: 1 +Release: 2 License: LGPL v2.1+ Group: Libraries Source0: https://gstreamer.freedesktop.org/src/gstreamer-vaapi/%{name}-%{version}.tar.xz @@ -56,8 +56,8 @@ Requires: gstreamer-plugins-base >= %{gstpb_ver} Requires: libva >= 1.6.0 Requires: wayland >= 1.0.0 %if %{without api} -Obsoletes: %{name}-devel < %{version} -Obsoletes: %{name}-static < %{version} +Obsoletes: gstreamer-vaapi-devel < %{version} +Obsoletes: gstreamer-vaapi-static < %{version} %endif BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -103,6 +103,9 @@ Statyczne biblioteki VA-API GStreamera. Summary: GStreamer VA-API plugins documentation Summary(pl.UTF-8): Dokumentacja do wtyczek GStreamera VA-API Group: Documentation +%if "%{_rpmversion}" >= "5" +BuildArch: noarch +%endif %description apidocs GStreamer VA-API plugins documentation. -- 2.43.0