Accepting request 755774 from home:hmzhao:branches:openSUSE:Factory
OBS-URL: https://build.opensuse.org/request/show/755774 OBS-URL: https://build.opensuse.org/package/show/Base:System/ledmon?expand=0&rev=34
This commit is contained in:
parent
c9ac8e9d59
commit
eaa5996209
@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 11 09:32:32 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
- Small packaging cleanups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 11 03:05:00 UTC 2019 - heming.zhao@suse.com
|
||||
|
||||
- Update to version 0.93 per https://jira.suse.com/browse/SLE-8004
|
||||
* modified spec file according to changes in source code
|
||||
|
||||
- Enhancements
|
||||
* Support for AMD SGPIO enclosure management
|
||||
* Migration to GNU Autotools build system
|
||||
* Added more strict compilation flags
|
||||
|
||||
- Bug fixes
|
||||
* Fixed segfault when a value is missing from ibpi_str
|
||||
* Use proper format string with syslog()
|
||||
* Fixed issues reported by static analysis
|
||||
* Removed unused SGPIO structures
|
||||
* Added udev_device reference clean-up
|
||||
* Hidden ipmi error messages on non-dell platforms
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 10 01:40:17 UTC 2019 - heming.zhao@suse.com
|
||||
|
||||
|
45
ledmon.spec
45
ledmon.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ledmon
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,18 +17,23 @@
|
||||
|
||||
|
||||
Name: ledmon
|
||||
Version: 0.92
|
||||
Version: 0.93
|
||||
Release: 0
|
||||
Summary: Enclosure LED Utilities
|
||||
License: GPL-2.0-only
|
||||
Group: Hardware/Other
|
||||
Url: https://github.com/intel/ledmon/
|
||||
URL: https://github.com/intel/ledmon/
|
||||
Source0: https://github.com/intel/ledmon/archive/v%{version}.tar.gz
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libsgutils-devel
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
Provides: sgpio:/sbin/ledmon
|
||||
Provides: sgpio:/{%{_bindir}}/ledctl
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{?systemd_requires}
|
||||
|
||||
%description
|
||||
The ledctl application and ledmon daemon are part of Intel(R) LED
|
||||
@ -39,18 +44,36 @@ solutions.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
make -j1 CXFLAGS="%{optflags} -lsgutils2 -std=c99"
|
||||
%define _lto_cflags %{nil}
|
||||
autoreconf -fiv
|
||||
%configure \
|
||||
--enable-systemd=yes
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm %{buildroot}%{_datarootdir}/doc/ledmon/README
|
||||
|
||||
%pre
|
||||
%service_add_pre %{name}.service
|
||||
|
||||
%post
|
||||
%service_add_post %{name}.service
|
||||
|
||||
%preun
|
||||
%service_del_preun %{name}.service
|
||||
|
||||
%postun
|
||||
%service_del_postun %{name}.service
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README COPYING
|
||||
%license COPYING
|
||||
%doc README
|
||||
%{_sbindir}/ledmon
|
||||
%{_sbindir}/ledctl
|
||||
%{_mandir}/man5/ledmon.conf.5%{ext_man}
|
||||
%{_mandir}/man8/ledctl.8%{ext_man}
|
||||
%{_mandir}/man8/ledmon.8%{ext_man}
|
||||
%{_unitdir}/ledmon.service
|
||||
%{_mandir}/man5/ledmon.conf.5.5%{?ext_man}
|
||||
%{_mandir}/man8/ledctl.8.8%{?ext_man}
|
||||
%{_mandir}/man8/ledmon.8.8%{?ext_man}
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:db27183a5a900e7d8bd443143b9c4f2e991d5cbb8c7fbd9531f704699c1cfa07
|
||||
size 68779
|
3
v0.93.tar.gz
Normal file
3
v0.93.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5e74804e74491096c771016dd78e7e0f935defb99383bcf7f19cf5d5e308abcf
|
||||
size 80027
|
Loading…
x
Reference in New Issue
Block a user