update to 1.0.0
(cherry picked from commit 753c9aef34faec60e5db377a659374cd99c19bb6) Resolves: RHEL-23114
This commit is contained in:
parent
b2c315037c
commit
285ae46948
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,3 +14,4 @@
|
|||||||
/ledmon-0.95.tar.gz
|
/ledmon-0.95.tar.gz
|
||||||
/ledmon-0.96.tar.gz
|
/ledmon-0.96.tar.gz
|
||||||
/ledmon-0.97.tar.gz
|
/ledmon-0.97.tar.gz
|
||||||
|
/ledmon-1.0.0.tar.gz
|
||||||
|
49
ledmon.spec
49
ledmon.spec
@ -1,18 +1,18 @@
|
|||||||
Summary: Enclosure LED Utilities
|
Summary: Enclosure LED Utilities
|
||||||
Name: ledmon
|
Name: ledmon
|
||||||
Version: 0.97
|
Version: 1.0.0
|
||||||
Release: 6%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPL-2.0-only AND LGPL-2.1-only
|
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
|
||||||
|
|
||||||
# remove -Werror=format-truncation=1 in order to build package
|
|
||||||
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.
|
# Needed for pkgconfig usage.
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
# Needed for the udev dependency.
|
# Needed for the udev dependency.
|
||||||
@ -32,12 +32,31 @@ 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
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-systemd=yes
|
%configure --enable-systemd=yes --enable-library --disable-static
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -59,7 +78,19 @@ autoreconf -fiv
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%{_unitdir}/ledmon.service
|
%{_unitdir}/ledmon.service
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/*
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Wed Feb 14 2024 Lukáš Zaoral <lzaoral@redhat.com> - 0.97-6
|
||||||
- fix incorrect License field syntax
|
- fix incorrect License field syntax
|
||||||
|
|
||||||
|
@ -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
|
|
||||||
|
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (ledmon-0.97.tar.gz) = 7a8f6c6f7cbaa10ae17ee60c2dfbce4100524b9b85fdc01a139f1fd2a33779348845df29b93f6c2cbabed4fa92a2a17a80636c2658e13507743bd2242fc08914
|
SHA512 (ledmon-1.0.0.tar.gz) = af4dcfaf0284cfc5d88f09d2b4974514f40901c26c640a12ba4ae9bbe16e29e0ca975bc413cf155996162b324b5d365e7bc0306db0329aa755df690ac541a3a6
|
||||||
|
Loading…
Reference in New Issue
Block a user