Remove deprecated scripts
This commit is contained in:
parent
0600b5f6b9
commit
da95a4db20
@ -1,20 +0,0 @@
|
|||||||
diff -up powerpc-utils/scripts/ibmvscsis.sh.chkconfig powerpc-utils/scripts/ibmvscsis.sh
|
|
||||||
--- powerpc-utils/scripts/ibmvscsis.sh.chkconfig 2009-07-30 19:06:07.000000000 -0400
|
|
||||||
+++ powerpc-utils/scripts/ibmvscsis.sh 2009-08-20 11:29:29.000000000 -0400
|
|
||||||
@@ -2,6 +2,7 @@
|
|
||||||
|
|
||||||
# IBM "ibmvscsis.sh": ibmvscsis init script
|
|
||||||
#
|
|
||||||
+# chkconfig: 35 50 50
|
|
||||||
# Copyright (c) 2004, 2005 International Business Machines.
|
|
||||||
# Common Public License Version 1.0 (see COPYRIGHT)
|
|
||||||
#
|
|
||||||
@@ -20,7 +21,7 @@
|
|
||||||
# Required-Stop: $syslog $remote_fs
|
|
||||||
# Should-Stop:
|
|
||||||
# Default-Start: 3 5
|
|
||||||
-# Default-Stop:
|
|
||||||
+# Default-Stop: 0 1 2 4 6
|
|
||||||
# Short-Description: configure this partition as virtual scsi server
|
|
||||||
# Description: Based on /etc/ibmvscsis.conf, this partition
|
|
||||||
# will export configured drives, partitions or loop mounted
|
|
@ -1,12 +1,11 @@
|
|||||||
Name: powerpc-utils
|
Name: powerpc-utils
|
||||||
Version: 1.2.2
|
Version: 1.2.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Utilities for PowerPC platforms
|
Summary: Utilities for PowerPC platforms
|
||||||
|
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: CPL
|
License: CPL
|
||||||
URL: http://sourceforge.net/projects/%{name}/
|
URL: http://sourceforge.net/projects/%{name}/
|
||||||
#Source0: http://downloads.sourceforge.net/projects/%{name}/%{name}-%{version}.tar.gz
|
|
||||||
Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||||
Source1: nvsetenv
|
Source1: nvsetenv
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@ -16,7 +15,6 @@ BuildRequires: doxygen automake librtas-devel libservicelog-devel >= 1.0.1-2
|
|||||||
Requires: libservicelog
|
Requires: libservicelog
|
||||||
ExclusiveArch: ppc ppc64
|
ExclusiveArch: ppc ppc64
|
||||||
|
|
||||||
Patch1: powerpc-utils-1.2.0-chkconfig.patch
|
|
||||||
# This hack is needed only for platforms with autoconf < 2.63
|
# This hack is needed only for platforms with autoconf < 2.63
|
||||||
Patch2: powerpc-utils-autoconf.patch
|
Patch2: powerpc-utils-autoconf.patch
|
||||||
|
|
||||||
@ -29,11 +27,10 @@ Utilities for PowerPC platforms.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1 -b .chkconfig
|
|
||||||
|
|
||||||
# This hack is needed only for platforms with autoconf < 2.63
|
# This hack is needed only for platforms with autoconf < 2.63
|
||||||
%if 0%{?fedora} < 9 && 0%{?rhel} < 6
|
%if 0%{?fedora} < 9 && 0%{?rhel} < 6
|
||||||
%patch2 -p1 -b .aconf
|
%patch1 -p1 -b .aconf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -53,15 +50,12 @@ mkdir -p $RPM_BUILD_ROOT%{pkgdocdir}
|
|||||||
install $RPM_BUILD_ROOT/usr/share/doc/packages/powerpc-utils/* -t $RPM_BUILD_ROOT%{pkgdocdir}
|
install $RPM_BUILD_ROOT/usr/share/doc/packages/powerpc-utils/* -t $RPM_BUILD_ROOT%{pkgdocdir}
|
||||||
rm -rf $RPM_BUILD_ROOT/usr/share/doc/packages/powerpc-utils
|
rm -rf $RPM_BUILD_ROOT/usr/share/doc/packages/powerpc-utils
|
||||||
|
|
||||||
# move init script
|
# remove init script and perl script. They are deprecated
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
|
rm -rf $RPM_BUILD_ROOT/etc/init.d/ibmvscsis.sh $RPM_BUILD_ROOT/usr/sbin/vscsisadmin
|
||||||
install -m 755 $RPM_BUILD_ROOT/etc/init.d/ibmvscsis.sh $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d/ibmvscsisd
|
|
||||||
rm -rf $RPM_BUILD_ROOT/etc/init.d/ibmvscsis.sh
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sbindir}/nvsetenv
|
%{_sbindir}/nvsetenv
|
||||||
@ -77,8 +71,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man8/bootlist.8*
|
%{_mandir}/man8/bootlist.8*
|
||||||
%{_mandir}/man8/ofpathname.8*
|
%{_mandir}/man8/ofpathname.8*
|
||||||
|
|
||||||
%{_sysconfdir}/rc.d/init.d/ibmvscsisd
|
|
||||||
|
|
||||||
%{_sbindir}/update_flash
|
%{_sbindir}/update_flash
|
||||||
%{_sbindir}/activate_firmware
|
%{_sbindir}/activate_firmware
|
||||||
%{_sbindir}/usysident
|
%{_sbindir}/usysident
|
||||||
@ -88,7 +80,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_sbindir}/serv_config
|
%{_sbindir}/serv_config
|
||||||
%{_sbindir}/uesensor
|
%{_sbindir}/uesensor
|
||||||
%{_sbindir}/hvcsadmin
|
%{_sbindir}/hvcsadmin
|
||||||
%{_sbindir}/vscsisadmin
|
|
||||||
%{_sbindir}/rtas_dump
|
%{_sbindir}/rtas_dump
|
||||||
%{_sbindir}/rtas_event_decode
|
%{_sbindir}/rtas_event_decode
|
||||||
%{_sbindir}/sys_ident
|
%{_sbindir}/sys_ident
|
||||||
@ -114,15 +105,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc README COPYRIGHT Changelog
|
%doc README COPYRIGHT Changelog
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/chkconfig --add ibmvscsisd
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ] ; then
|
|
||||||
/sbin/service ibmvscsisd stop >/dev/null 2>&1
|
|
||||||
/sbin/chkconfig --del ibmvscsisd
|
|
||||||
fi
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 05 2010 Roman Rakus <rrakus@redhat.com> - 1.2.2-2
|
||||||
|
- Removed deprecated init script and perl script
|
||||||
|
|
||||||
* Thu Oct 29 2009 Stepan Kasal <skasal@redhat.com> - 1.2.2-1
|
* Thu Oct 29 2009 Stepan Kasal <skasal@redhat.com> - 1.2.2-1
|
||||||
- new upstream version
|
- new upstream version
|
||||||
- amsvis removed, this package has no longer anything with python
|
- amsvis removed, this package has no longer anything with python
|
||||||
|
Loading…
Reference in New Issue
Block a user