Improve spec
This commit is contained in:
parent
c773f41bf6
commit
ed0d3a7e7a
11
sgpio.spec
11
sgpio.spec
@ -1,14 +1,13 @@
|
|||||||
Summary: SGPIO captive backplane tool
|
Summary: SGPIO captive backplane tool
|
||||||
Name: sgpio
|
Name: sgpio
|
||||||
Version: 1.2.0.10
|
Version: 1.2.0.10
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing
|
URL: http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing
|
||||||
Source: sgpio-1.2-0.10-src.tar.gz
|
Source: sgpio-1.2-0.10-src.tar.gz
|
||||||
# there is no official download link for the latest package
|
# there is no official download link for the latest package
|
||||||
#Source: http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing?action=AttachFile&do=get&target=sgpio-1.2.tgz
|
#Source: http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing?action=AttachFile&do=get&target=sgpio-1.2.tgz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
||||||
Patch0: sgpio-1.2-makefile.patch
|
Patch0: sgpio-1.2-makefile.patch
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
|
|
||||||
@ -27,19 +26,17 @@ make clean
|
|||||||
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT/sbin MANDIR=$RPM_BUILD_ROOT%{_mandir}
|
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT/sbin MANDIR=$RPM_BUILD_ROOT%{_mandir}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root, -)
|
|
||||||
%doc README
|
%doc README
|
||||||
/sbin/sgpio
|
/sbin/sgpio
|
||||||
%{_mandir}/man1/sgpio.*
|
%{_mandir}/man1/sgpio.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 23 2012 Jan Synáček <jsynacek@redhat.com> - 1.2.0.10-8
|
||||||
|
- Improve spec
|
||||||
|
|
||||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.10-7
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.10-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user