Compare commits

..

No commits in common. 'c9' and 'i10cs' have entirely different histories.
c9 ... i10cs

2
.gitignore vendored

@ -1 +1 @@
SOURCES/ledmon-0.97.tar.gz SOURCES/ledmon-1.1.0.tar.gz

@ -1 +1 @@
0447a7e81a504d4a856f7934927f5a8b2be3c1ff SOURCES/ledmon-0.97.tar.gz c248d42629df31f1e2ded05a660a487a2d5a1a70 SOURCES/ledmon-1.1.0.tar.gz

@ -1,26 +0,0 @@
From a82b0e4080254e68eb70a338f8f6f7e6a6dbc581 Mon Sep 17 00:00:00 2001
From: Jan Macku <jamacku@redhat.com>
Date: Tue, 2 Feb 2021 11:08:20 +0100
Subject: [PATCH] ledmon_format-truncation-flag
suggested by kdudka
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 8fd5e6b..b80e2b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@ AM_CPPFLAGS='-D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_
AC_DEFUN([AX_AM_CFLAGS_ADD],[AX_CHECK_COMPILE_FLAG($1, AM_CFLAGS="$AM_CFLAGS $1")])
AX_AM_CFLAGS_ADD([-Wformat -Werror=format-security])
AX_AM_CFLAGS_ADD([-Werror=format-overflow=2])
-AX_AM_CFLAGS_ADD([-Werror=format-truncation=1])
+dnl AX_AM_CFLAGS_ADD([-Werror=format-truncation=1])
AX_AM_CFLAGS_ADD([-Werror=shift-negative-value])
AX_AM_CFLAGS_ADD([-Werror=alloca])
AX_AM_CFLAGS_ADD([-Werror=missing-field-initializers])
--
2.29.2

@ -1,24 +1,29 @@
Summary: Enclosure LED Utilities Summary: Enclosure LED Utilities
Name: ledmon Name: ledmon
Version: 0.97 Version: 1.1.0
Release: 1%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPL-2.0-only AND LGPL-2.1-only
URL: https://github.com/intel/ledmon URL: https://github.com/intel/ledmon
Source0: https://github.com/intel/ledmon/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: ledmon_format-truncation-flag.patch
BuildRequires: sg3_utils-devel
BuildRequires: pciutils-devel
BuildRequires: autoconf automake BuildRequires: autoconf automake
BuildRequires: autoconf-archive
BuildRequires: gcc make BuildRequires: gcc make
BuildRequires: libconfig-devel
BuildRequires: libtool
BuildRequires: pciutils-devel
BuildRequires: sg3_utils-devel
# Needed for pkgconfig usage.
BuildRequires: pkgconfig(systemd)
# Needed for the udev dependency. # Needed for the udev dependency.
BuildRequires: systemd-devel BuildRequires: systemd-devel
BuildRequires: systemd-rpm-macros 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
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
%description %description
The ledmon and ledctl are user space applications design to control LED The ledmon and ledctl are user space applications design to control LED
@ -27,19 +32,35 @@ types of system: 2-LED system (Activity LED, Status LED) and 3-LED system
(Activity LED, Locate LED, Fail LED). User must have root privileges to (Activity LED, Locate LED, Fail LED). User must have root privileges to
use this application. use this application.
%package libs
Summary: Runtime library files for %{name}
Requires: pciutils-libs
Requires: sg3_utils-libs
%description libs
The %{name}-libs package contains runtime libraries for applications
that use %{name}.
%package devel
Summary: Development files for %{name}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: pciutils-devel
Requires: sg3_utils-devel
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep %prep
%setup -q %autosetup -p1
# remove -Werror=format-truncation=1 in order to build package
%patch0 -p1
autoreconf -fiv autoreconf -fiv
%build %build
sh autogen.sh %configure --enable-systemd=yes --enable-library --disable-static
%configure --enable-systemd=yes %make_build
make
%install %install
%make_install SBIN_DIR=$RPM_BUILD_ROOT/%{_sbindir} MANDIR=$RPM_BUILD_ROOT%{_mandir} %make_install
%post %post
%systemd_post ledmon.service %systemd_post ledmon.service
@ -57,35 +78,81 @@ make
%{_mandir}/*/* %{_mandir}/*/*
%{_unitdir}/ledmon.service %{_unitdir}/ledmon.service
%files libs
%{_libdir}/*.so.*
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog %changelog
* Wed May 17 2023 Jan Macku <jamacku@redhat.com> - 0.97-1 * Tue Nov 12 2024 Jan Macku <jamacku@redhat.com> - 1.1.0-1
- update to 0.97 (#2159926) - update to 1.1.0
- drop ipmi-avoid-error-messages-on-non-dell-platforms.patch
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.0.0-4
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.0.0-3
- Rebuilt for MSVSphere 10
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.0.0-3
- Bump release for June 2024 mass rebuild
* Wed Mar 27 2024 Jan Macku <jamacku@redhat.com> - 1.0.0-1
- update to 1.0.0
- package shared ledmon library by Tony Asleson
* Wed Feb 14 2024 Lukáš Zaoral <lzaoral@redhat.com> - 0.97-6
- fix incorrect License field syntax
* Fri Feb 09 2024 Dan Horák <dan@danny.cz> - 0.97-5
- rebuilt for sg3_utils 1.48
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue May 16 2023 Jan Macku <jamacku@redhat.com> - 0.97-2
- use correct SPDX license
* Tue May 16 2023 Jan Macku <jamacku@redhat.com> - 0.97-1
- update to 0.97
* Tue Apr 11 2023 Lukáš Zaoral <lzaoral@redhat.com> - 0.96-7
- migrate to SPDX license format
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.96-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Nov 28 2022 Jan Macku <jamacku@redhat.com> - 0.96-5 * Tue Jan 10 2023 Lukáš Zaoral <lzaoral@redhat.com> - 0.96-5
- Decrease log level of IPMI messages (#2148954) - Fix build on Rawhide
- Remove explicit library runtime dependency as suggested by rpmlint
- Modernise used macros
* Mon Jun 27 2022 Jan Macku <jamacku@redhat.com> - 0.96-4 * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.96-4
- Use systemd-rpm-macros to handle ledmon.service (#2073332) - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 01 2022 Jan Macku <jamacku@redhat.com> - 0.96-3 * Mon Jun 27 2022 Jan Macku <jamacku@redhat.com> - 0.96-3
- Add tests - Rebuild
* Wed Jun 01 2022 Jan Macku <jamacku@redhat.com> - 0.96-2 * Mon Jun 27 2022 Jan Macku <jamacku@redhat.com> - 0.96-2
- Rename gating.yml to gating.yaml - Use systemd-rpm-macros to handle ledmon.service (#2101300)
* 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 (#2042273) - update to 0.96 (#2092134)
- Add gating.yml
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.95-6 * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu May 27 2021 Tomas Bzatek <tbzatek@redhat.com> - 0.95-5 * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-5
- Rebuilt for sg3_utils 1.47 (#1955156) - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.95-4 * Tue Apr 06 2021 Tomas Bzatek <tbzatek@redhat.com> - 0.95-4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - rebuilt for sg3_utils 1.46
* Mon Feb 22 2021 Jan Macku <jamacku@redhat.com> - 0.95-3 * Mon Feb 22 2021 Jan Macku <jamacku@redhat.com> - 0.95-3
- Use make macros - Use make macros

Loading…
Cancel
Save