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
This commit is contained in:
Marcus Meissner 2015-04-23 06:01:34 +00:00 committed by Git OBS Bridge
parent 83bdcb4254
commit b7802fdb21
2 changed files with 12 additions and 19 deletions

View File

@ -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 Mon Mar 2 10:49:00 UTC 2015 - dimstar@opensuse.org

View File

@ -17,46 +17,33 @@
Name: ledmon Name: ledmon
Url: http://sourceforge.net/projects/ledmon/
Version: 0.79 Version: 0.79
Release: 0 Release: 0
#Release: 0.<RELEASE5>
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Enclosure LED Utilities Summary: Enclosure LED Utilities
License: GPL-2.0 License: GPL-2.0
Group: Hardware/Other 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 Patch0: Makefile-error-dependency.patch
#BuildRequires: smp_utils
#BuildRequires: sg3_utils-devel
BuildRequires: libsgutils-devel BuildRequires: libsgutils-devel
#Requires: sg3_utils
Provides: sgpio:/sbin/ledmon Provides: sgpio:/sbin/ledmon
Provides: sgpio:/{%_bindir}/ledctl Provides: sgpio:/{%{_bindir}}/ledctl
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
The ledctl application and ledmon daemon are part of Intel(R) LED The ledctl application and ledmon daemon are part of Intel(R) LED
ControlUtilities. They help to enable LED management for software RAID ControlUtilities. They help to enable LED management for software RAID
solutions. solutions.
Authors:
--------
artur.wojcik@intel.com
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%build %build
make CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} CFLAGS="%{optflags}"
%install %install
DESTDIR=$RPM_BUILD_ROOT make install make DESTDIR=%{buildroot} install %{?_smp_mflags}
%clean
rm -rf "$RPM_BUILD_ROOT"
%files %files
%defattr(-,root,root) %defattr(-,root,root)