From 45f5c9f3d2fece6f97725fb80ba4b15dc21cbc06b2b3eb3b52ec9132f510167b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 12 Jun 2016 07:33:41 +0000 Subject: [PATCH] - Run over with spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/v4l-utils?expand=0&rev=45 --- v4l-utils.changes | 5 +++++ v4l-utils.spec | 23 +++++++---------------- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/v4l-utils.changes b/v4l-utils.changes index 5002137..afa893f 100644 --- a/v4l-utils.changes +++ b/v4l-utils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jun 12 07:33:18 UTC 2016 - tchvatal@suse.com + +- Run over with spec-cleaner + ------------------------------------------------------------------- Sat Jun 11 20:14:09 UTC 2016 - asterios.dramis@gmail.com diff --git a/v4l-utils.spec b/v4l-utils.spec index 7c1f8ec..b1d54f3 100644 --- a/v4l-utils.spec +++ b/v4l-utils.spec @@ -18,7 +18,7 @@ %define _udevdir %(pkg-config --variable udevdir udev) %define so_ver 0 -%ifarch aarch64 %arm +%ifarch aarch64 %{arm} # qv4l2 does not support GLES %bcond_with qv4l2 %else @@ -39,18 +39,18 @@ BuildRequires: alsa-devel BuildRequires: doxygen BuildRequires: kernel-headers BuildRequires: libjpeg-devel +BuildRequires: pkgconfig +BuildRequires: udev +BuildRequires: update-desktop-files +Requires: libv4l = %{version} +Requires: udev +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} > 1310 BuildRequires: glu-devel BuildRequires: libqt5-qtbase-devel %else BuildRequires: libqt4-devel %endif -BuildRequires: pkg-config -BuildRequires: udev -BuildRequires: update-desktop-files -Requires: libv4l = %{version} -Requires: udev -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description v4l-utils is a collection of various video4linux (V4L) utilities. @@ -207,23 +207,14 @@ rm %{buildroot}%{_libdir}/{v4l1compat.so,v4l2convert.so} %endif %post -n libdvbv5-%{so_ver} -p /sbin/ldconfig - %postun -n libdvbv5-%{so_ver} -p /sbin/ldconfig - %post -n libv4l1-%{so_ver} -p /sbin/ldconfig - %postun -n libv4l1-%{so_ver} -p /sbin/ldconfig - %post -n libv4l2-%{so_ver} -p /sbin/ldconfig - %postun -n libv4l2-%{so_ver} -p /sbin/ldconfig - %post -n libv4l2rds%{so_ver} -p /sbin/ldconfig - %postun -n libv4l2rds%{so_ver} -p /sbin/ldconfig - %post -n libv4lconvert%{so_ver} -p /sbin/ldconfig - %postun -n libv4lconvert%{so_ver} -p /sbin/ldconfig %files