Prevent the RPM from conflicting with itself (BZ #856330) (David Aquilina)
This commit is contained in:
parent
4276961aea
commit
02fb4a9698
@ -1,7 +1,7 @@
|
||||
Summary: Utilities for the IBM Power Linux RAID adapters
|
||||
Name: iprutils
|
||||
Version: 2.3.11
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: CPL
|
||||
Group: System Environment/Base
|
||||
URL: http://sourceforge.net/projects/iprdd/
|
||||
@ -49,12 +49,10 @@ CFLAGS="%{optflags}" %{__make}
|
||||
# missing man page
|
||||
%{__install} -m 0755 %SOURCE1 %{buildroot}%{_mandir}/man8/
|
||||
|
||||
# move all binaries from /sbin to /usr/sbin and
|
||||
# make symbolink links for all binaries in /sbin to /usr/sbin
|
||||
# move all binaries from /sbin to /usr/sbin
|
||||
mkdir %{buildroot}/usr/sbin
|
||||
for file in iprconfig iprdbg iprdump iprinit iprupdate; do
|
||||
mv %{buildroot}/sbin/$file %{buildroot}/usr/sbin/$file
|
||||
ln -s /usr/sbin/$file %{buildroot}/sbin/$file
|
||||
done
|
||||
|
||||
%post
|
||||
@ -73,12 +71,14 @@ done
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README LICENSE
|
||||
/sbin/*
|
||||
/usr/sbin/*
|
||||
%{_sbindir}/*
|
||||
%{_mandir}/man*/*
|
||||
%{_sysconfdir}/rc.d/init.d/*
|
||||
|
||||
%changelog
|
||||
* Tue Sep 11 2012 David Aquilina <dwa@redhat.com> 2.3.11-2
|
||||
- Prevent the RPM from conflicting with itself (BZ #856330)
|
||||
|
||||
* Wed Sep 05 2012 Karsten Hopp <karsten@redhat.com> 2.3.11-1
|
||||
- update to 2.3.11
|
||||
- enable on all archs as it now supports some adapters on them, too.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user