Move the udev rule to the powerpc-utils-core
This commit is contained in:
parent
93d0d518fa
commit
70841f055d
11
libnxz.spec
11
libnxz.spec
@ -4,13 +4,12 @@
|
|||||||
|
|
||||||
Name: libnxz
|
Name: libnxz
|
||||||
Version: 0.63
|
Version: 0.63
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Zlib implementation for POWER processors
|
Summary: Zlib implementation for POWER processors
|
||||||
License: ASL 2.0 or GPLv2+
|
License: ASL 2.0 or GPLv2+
|
||||||
Url: https://github.com/libnxz/power-gzip
|
Url: https://github.com/libnxz/power-gzip
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
Source1: nx-gzip.udev
|
|
||||||
|
|
||||||
# https://github.com/libnxz/power-gzip/pull/150
|
# https://github.com/libnxz/power-gzip/pull/150
|
||||||
Patch0: pr150.patch
|
Patch0: pr150.patch
|
||||||
@ -25,6 +24,9 @@ BuildRequires: gcc
|
|||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
|
|
||||||
|
# udev rules for nx-gzip dev
|
||||||
|
Requires: powerpc-utils-core > 1.3.10-2
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libnxz is a zlib-compatible library that uses the NX GZIP Engine available on
|
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
|
POWER9 or newer processors in order to provide a faster zlib/gzip compression
|
||||||
@ -63,7 +65,6 @@ fi
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
install -Dm 644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/90-nx-gzip.rules
|
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%{_sbindir}/groupadd -r -f nx-gzip
|
%{_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}/APACHE-2.0.txt
|
||||||
%license %{_docdir}/%{name}/gpl-2.0.txt
|
%license %{_docdir}/%{name}/gpl-2.0.txt
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{_udevrulesdir}/90-nx-gzip.rules
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/libnxz.h
|
%{_includedir}/libnxz.h
|
||||||
@ -85,6 +85,9 @@ install -Dm 644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/90-nx-gzip.rules
|
|||||||
%{_libdir}/libnxz.la
|
%{_libdir}/libnxz.la
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 14 2022 Jakub Čajka <jcajka@redhat.com> - 0.63-3
|
||||||
|
- Move udev rule to the powerpc-utils-core
|
||||||
|
|
||||||
* Thu Apr 14 2022 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> - 0.63-2
|
* Thu Apr 14 2022 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> - 0.63-2
|
||||||
- Backport fixes from upstream.
|
- Backport fixes from upstream.
|
||||||
- Create the nx-gzip group and add udev rules.
|
- Create the nx-gzip group and add udev rules.
|
||||||
|
@ -1 +0,0 @@
|
|||||||
KERNEL=="nx-gzip", GROUP="nx-gzip", MODE="0660"
|
|
Loading…
Reference in New Issue
Block a user