diff --git a/.gitignore b/.gitignore index 86ee00e..f798590 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /ledmon-0.31.tar.bz2 /ledmon-0.32.tar.bz2 /ledmon-0.40.tar.bz2 +/ledmon-0.72.tar.bz2 diff --git a/ledmon.spec b/ledmon.spec index a409fcd..d58700b 100644 --- a/ledmon.spec +++ b/ledmon.spec @@ -1,6 +1,6 @@ Summary: Enclosure LED Utilities Name: ledmon -Version: 0.40 +Version: 0.72 Release: 1%{?dist} License: GPLv2+ Group: Applications/System @@ -8,6 +8,7 @@ URL: http://sourceforge.net/projects/ledmon/ Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Patch0: ledmon_cflags.patch BuildRequires: perl +BuildRequires: sg3_utils-devel Obsoletes: ledctl = 0.1-1 Provides: ledctl = %{version}-%{release} @@ -36,6 +37,10 @@ make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUI %{_mandir}/*/* %changelog +* Tue Aug 07 2012 Jan Synáček - 0.72-1 +- Update to 0.72 and update patch +- Resolves: #846018 + * Wed Jul 25 2012 Jan Synáček - 0.40-1 - Update to 0.40 - Resolves: #838086 diff --git a/ledmon_cflags.patch b/ledmon_cflags.patch index 00ae3d5..13a7755 100644 --- a/ledmon_cflags.patch +++ b/ledmon_cflags.patch @@ -1,10 +1,10 @@ ---- ledctl_man/src/Makefile 2010-03-23 14:40:33.000000000 +0100 -+++ ledctl/src/Makefile 2011-01-10 15:43:06.066168015 +0100 -@@ -54,7 +54,6 @@ +--- ledmon-0.72/src/Makefile.orig 2012-08-06 11:29:39.000000000 +0200 ++++ ledmon-0.72/src/Makefile 2012-08-07 07:19:25.241220694 +0200 +@@ -55,7 +55,6 @@ LEDCTL_OBJECTS=\ $(OUTDIR)/ledctl.o \ $(OBJECTS) -CFLAGS=-O0 -g -Wall -std=c99 DEFFLAGS=-D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE INCFLAGS=-I../config - LDFLAGS=-O0 -g $(DEFFLAGS) + LDFLAGS=-O0 -g $(DEFFLAGS) -lsgutils2 diff --git a/sources b/sources index 4cfc77c..e6ce63c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8e3d23cfee7dccf64ad6c687ddef64c8 ledmon-0.40.tar.bz2 +8b531ad0c4966793e72512dd6d71a2a2 ledmon-0.72.tar.bz2