From 70841f055d1d8f44ad8c7829234ce2b5c8b5f26f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8Cajka?= Date: Tue, 14 Jun 2022 16:37:22 +0200 Subject: [PATCH] Move the udev rule to the powerpc-utils-core --- libnxz.spec | 11 +++++++---- nx-gzip.udev | 1 - 2 files changed, 7 insertions(+), 5 deletions(-) delete mode 100644 nx-gzip.udev diff --git a/libnxz.spec b/libnxz.spec index ced9222..d792fe2 100644 --- a/libnxz.spec +++ b/libnxz.spec @@ -4,13 +4,12 @@ Name: libnxz Version: 0.63 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Zlib implementation for POWER processors License: ASL 2.0 or GPLv2+ Url: https://github.com/libnxz/power-gzip BuildRequires: zlib-devel Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz -Source1: nx-gzip.udev # https://github.com/libnxz/power-gzip/pull/150 Patch0: pr150.patch @@ -25,6 +24,9 @@ BuildRequires: gcc BuildRequires: make BuildRequires: systemd-rpm-macros +# udev rules for nx-gzip dev +Requires: powerpc-utils-core > 1.3.10-2 + %description libnxz is a zlib-compatible library that uses the NX GZIP Engine available on POWER9 or newer processors in order to provide a faster zlib/gzip compression @@ -63,7 +65,6 @@ fi %install %make_install -install -Dm 644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/90-nx-gzip.rules %pre %{_sbindir}/groupadd -r -f nx-gzip @@ -74,7 +75,6 @@ install -Dm 644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/90-nx-gzip.rules %license %{_docdir}/%{name}/APACHE-2.0.txt %license %{_docdir}/%{name}/gpl-2.0.txt %doc README.md -%{_udevrulesdir}/90-nx-gzip.rules %files devel %{_includedir}/libnxz.h @@ -85,6 +85,9 @@ install -Dm 644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/90-nx-gzip.rules %{_libdir}/libnxz.la %changelog +* Tue Jun 14 2022 Jakub Čajka - 0.63-3 +- Move udev rule to the powerpc-utils-core + * Thu Apr 14 2022 Tulio Magno Quites Machado Filho - 0.63-2 - Backport fixes from upstream. - Create the nx-gzip group and add udev rules. diff --git a/nx-gzip.udev b/nx-gzip.udev deleted file mode 100644 index 8d37f22..0000000 --- a/nx-gzip.udev +++ /dev/null @@ -1 +0,0 @@ -KERNEL=="nx-gzip", GROUP="nx-gzip", MODE="0660"