Auto sync2gitlab import of ledmon-0.96-2.el8.src.rpm
This commit is contained in:
parent
429b168baa
commit
c281a37af0
16
ledmon.spec
16
ledmon.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Enclosure LED Utilities
|
Summary: Enclosure LED Utilities
|
||||||
Name: ledmon
|
Name: ledmon
|
||||||
Version: 0.96
|
Version: 0.96
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: https://github.com/intel/ledmon
|
URL: https://github.com/intel/ledmon
|
||||||
@ -13,6 +13,8 @@ BuildRequires: pciutils-devel
|
|||||||
BuildRequires: autoconf, automake
|
BuildRequires: autoconf, automake
|
||||||
# Needed for the udev dependency.
|
# Needed for the udev dependency.
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
|
BuildRequires: systemd-rpm-macros
|
||||||
|
|
||||||
Obsoletes: ledctl = 0.1-1
|
Obsoletes: ledctl = 0.1-1
|
||||||
Provides: ledctl = %{version}-%{release}
|
Provides: ledctl = %{version}-%{release}
|
||||||
Requires: sg3_utils-libs
|
Requires: sg3_utils-libs
|
||||||
@ -37,6 +39,15 @@ make
|
|||||||
%install
|
%install
|
||||||
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT/%{_sbindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}
|
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
|
%files
|
||||||
%doc README.md COPYING
|
%doc README.md COPYING
|
||||||
%{_sbindir}/ledctl
|
%{_sbindir}/ledctl
|
||||||
@ -45,6 +56,9 @@ make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUI
|
|||||||
%{_unitdir}/ledmon.service
|
%{_unitdir}/ledmon.service
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jun 01 2022 Jan Macku <jamacku@redhat.com> - 0.96-1
|
||||||
- update to 0.96 (#2041713)
|
- update to 0.96 (#2041713)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user