Make spec fedora-review friendly

This commit is contained in:
Jan Synacek 2012-07-25 07:58:56 +02:00
parent 90459e10be
commit 3012f5dd5b

View File

@ -8,7 +8,6 @@ URL: http://sourceforge.net/projects/ledmon/
Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Patch0: ledmon_cflags.patch
BuildRequires: perl
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Obsoletes: ledctl = 0.1-1
Provides: ledctl = %{version}-%{release}
@ -28,14 +27,9 @@ use this application.
make CFLAGS="$RPM_OPT_FLAGS --std=c99"
%install
rm -rf $RPM_BUILD_ROOT
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT/%{_sbindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README COPYING
%{_sbindir}/ledctl
%{_sbindir}/ledmon
@ -45,6 +39,7 @@ rm -rf $RPM_BUILD_ROOT
* Wed Jul 25 2012 Jan Synáček <jsynacek@redhat.com> - 0.40-1
- Update to 0.40
- Resolves: #838086
- Make spec fedora-review friendly
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild