Rewrited init scripts. Now LSB compliant

This commit is contained in:
Roman Rakus 2008-04-10 11:00:47 +00:00
parent 1063747197
commit 24c39e1e4f

View File

@ -1,18 +1,20 @@
Summary: Utilities for the IBM Power Linux RAID adapters
Name: iprutils
Version: 2.2.8
Release: 2%{?dist}
Release: 3%{?dist}
License: CPL
Group: System Environment/Base
URL: http://sourceforge.net/projects/iprdd/
Source0: http://osdn.dl.sourceforge.net/sourceforge/iprdd/%{name}-%{version}-src.tgz
Patch0: %{name}-cflags.patch
Patch1: %{name}-lsb-init-ectomy.patch
#Patch1: %{name}-lsb-init-ectomy.patch
Patch2: %{name}-initscripts.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExclusiveArch: ppc ppc64
Requires: /sbin/pidof
BuildRequires: libsysfs-devel
BuildRequires: pciutils-devel
BuildRequires: ncurses-devel
@ -27,8 +29,8 @@ supported by the ipr SCSI storage device driver.
%prep
%setup -q -n %{name}
%patch0 -p1
%patch1 -p1
#%patch1 -p1
%patch2 -p1
%build
CFLAGS="%{optflags}" %{__make}
@ -62,6 +64,9 @@ CFLAGS="%{optflags}" %{__make}
%{_sysconfdir}/rc.d/init.d/*
%changelog
* Wed Apr 9 2008 Roman Rakus <rrakus@redhat.cz> - 2.2.8-3
- Rewrited initscripts for satisfying LSB spec
* Fri Feb 08 2008 David Cantrell <dcantrell@redhat.com> - 2.2.8-2
- Rebuild for gcc-4.3