From b7802fdb2187aad465c7d62cc160aba3f3f7d0b7e42748b42d4be43a071f1c8a Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 23 Apr 2015 06:01:34 +0000 Subject: [PATCH] Accepting request 298223 from home:pluskalm:branches:Base:System - Use url for source - Cleanupt spec file with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/298223 OBS-URL: https://build.opensuse.org/package/show/Base:System/ledmon?expand=0&rev=8 --- ledmon.changes | 6 ++++++ ledmon.spec | 25 ++++++------------------- 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/ledmon.changes b/ledmon.changes index 24fe3dc..f2f2b80 100644 --- a/ledmon.changes +++ b/ledmon.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 20 16:56:01 UTC 2015 - mpluskal@suse.com + +- Use url for source +- Cleanupt spec file with spec-cleaner + ------------------------------------------------------------------- Mon Mar 2 10:49:00 UTC 2015 - dimstar@opensuse.org diff --git a/ledmon.spec b/ledmon.spec index c405486..d20b477 100644 --- a/ledmon.spec +++ b/ledmon.spec @@ -17,46 +17,33 @@ Name: ledmon -Url: http://sourceforge.net/projects/ledmon/ Version: 0.79 Release: 0 -#Release: 0. -BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Enclosure LED Utilities License: GPL-2.0 Group: Hardware/Other -Source0: %{name}-%{version}.tar.gz +Url: http://sourceforge.net/projects/ledmon/ +Source0: http://sourceforge.net/projects/ledmon/files/ledmon-%{version}/%{name}-%{version}.tar.gz Patch0: Makefile-error-dependency.patch -#BuildRequires: smp_utils -#BuildRequires: sg3_utils-devel BuildRequires: libsgutils-devel -#Requires: sg3_utils Provides: sgpio:/sbin/ledmon -Provides: sgpio:/{%_bindir}/ledctl +Provides: sgpio:/{%{_bindir}}/ledctl +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The ledctl application and ledmon daemon are part of Intel(R) LED ControlUtilities. They help to enable LED management for software RAID solutions. - - -Authors: --------- - artur.wojcik@intel.com - %prep %setup -q %patch0 -p1 %build -make CFLAGS="$RPM_OPT_FLAGS" +make %{?_smp_mflags} CFLAGS="%{optflags}" %install -DESTDIR=$RPM_BUILD_ROOT make install - -%clean -rm -rf "$RPM_BUILD_ROOT" +make DESTDIR=%{buildroot} install %{?_smp_mflags} %files %defattr(-,root,root)