commit 2b1f299566c0f19f7fa8eba4141b5e1edabc8d2b
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Feb 23 13:24:42 2021 +0100
Rename to v4l2loopback
Signed-off-by: Nicolas Chauvet <kwizart(a)gmail.com>
v4l2loopback.spec | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/v4l2loopback.spec b/v4l2loopback.spec
index 1a63cbb..7056291 100644
--- a/v4l2loopback.spec
+++ b/v4l2loopback.spec
@@ -1,13 +1,11 @@
-%global prjname v4l2loopback
-
-Name: %{prjname}-utils
+Name: v4l2loopback
Summary: Utils for V4L2 loopback devices
Version: 0.12.5
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
URL:
https://github.com/umlaeute/v4l2loopback
-Source0: %{url}/archive/v%{version}/%{prjname}-%{version}.tar.gz
+Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: modprobe-d-98-v4l2loopback.conf
Source2: modules-load-d-v4l2loopback.conf
@@ -16,7 +14,11 @@ BuildRequires: make
BuildRequires: help2man
BuildRequires: systemd-rpm-macros
# For kmod package
-Provides: %{prjname}-kmod-common = %{version}-%{release}
+Provides: %{name}-kmod-common = %{version}-%{release}
+Requires: %{name}-kmod = %{version}-%{release}
+# For compatibility with older name
+Provides: %{name}-utils = %{version}-%{release}
+Obsoletes: %{name}-utils < 0.12.5-2
BuildArch: noarch
@@ -26,11 +28,11 @@ applications will read these devices as if they were ordinary video
devices, but the video will not be read from e.g. a capture card but
instead it is generated by another application.
-This package contains the utilties for %{prjname}.
+This package contains the utilties for %{name}.
%prep
-%autosetup -n %{prjname}-%{version} -p1
+%autosetup -p1
%build
# Nothing to build
@@ -52,5 +54,8 @@ install -D -m 0644 %{SOURCE2}
%{buildroot}%{_modulesloaddir}/v4l2loopback.conf
%changelog
+* Mon Feb 15 2021 Nicolas Chauvet <kwizart(a)gmail.com> - 0.12.5-2
+- Rename to v4l2loopback
+
* Sat Dec 26 2020 Neal Gompa <ngompa13(a)gmail.com> - 0.12.5-1
- Initial packaging