import ledmon-0.96-2.el8
This commit is contained in:
parent
219e3e0775
commit
1adcb1691f
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/ledmon-0.95.tar.gz
|
||||
SOURCES/ledmon-0.96.tar.gz
|
||||
|
@ -1 +1 @@
|
||||
c59fe133cc7be60ed652465fc5ec514563a81229 SOURCES/ledmon-0.95.tar.gz
|
||||
22c2e8ce87c3325c624e2869af5ef601e36d7d26 SOURCES/ledmon-0.96.tar.gz
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: Enclosure LED Utilities
|
||||
Name: ledmon
|
||||
Version: 0.95
|
||||
Release: 1%{?dist}
|
||||
Version: 0.96
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
URL: https://github.com/intel/ledmon
|
||||
@ -13,6 +13,8 @@ BuildRequires: pciutils-devel
|
||||
BuildRequires: autoconf, automake
|
||||
# Needed for the udev dependency.
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: systemd-rpm-macros
|
||||
|
||||
Obsoletes: ledctl = 0.1-1
|
||||
Provides: ledctl = %{version}-%{release}
|
||||
Requires: sg3_utils-libs
|
||||
@ -37,6 +39,15 @@ make
|
||||
%install
|
||||
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT/%{_sbindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}
|
||||
|
||||
%post
|
||||
%systemd_post ledmon.service
|
||||
|
||||
%preun
|
||||
%systemd_preun ledmon.service
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart ledmon.service
|
||||
|
||||
%files
|
||||
%doc README.md COPYING
|
||||
%{_sbindir}/ledctl
|
||||
@ -45,6 +56,12 @@ make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUI
|
||||
%{_unitdir}/ledmon.service
|
||||
|
||||
%changelog
|
||||
* Mon Jun 27 2022 Jan Macku <jamacku@redhat.com> - 0.96-2
|
||||
- Use systemd-rpm-macros to handle ledmon.service (#2073331)
|
||||
|
||||
* Wed Jun 01 2022 Jan Macku <jamacku@redhat.com> - 0.96-1
|
||||
- update to 0.96 (#2041713)
|
||||
|
||||
* Mon Jan 18 2021 Jan Macku <jamacku@redhat.com> - 0.95-1
|
||||
- update to 0.95 (#1841501)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user