UsrMove - convert /sbin
This commit is contained in:
parent
be742c4d1e
commit
0719e3d656
109
s390utils.spec
109
s390utils.spec
@ -92,7 +92,11 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" DISTRELEASE=%{release} V=1
|
make \
|
||||||
|
OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
||||||
|
BINDIR=/usr/sbin \
|
||||||
|
DISTRELEASE=%{release} \
|
||||||
|
V=1
|
||||||
|
|
||||||
pushd cmsfs-%{cmsfsver}
|
pushd cmsfs-%{cmsfsver}
|
||||||
./configure
|
./configure
|
||||||
@ -110,6 +114,7 @@ rm -f zipl/src/zipl_helper.device-mapper.*
|
|||||||
|
|
||||||
make install \
|
make install \
|
||||||
DESTDIR=$RPM_BUILD_ROOT \
|
DESTDIR=$RPM_BUILD_ROOT \
|
||||||
|
BINDIR=/usr/sbin \
|
||||||
SYSTEMDSYSTEMUNITDIR=%{_unitdir} \
|
SYSTEMDSYSTEMUNITDIR=%{_unitdir} \
|
||||||
DISTRELEASE=%{release} \
|
DISTRELEASE=%{release} \
|
||||||
V=1
|
V=1
|
||||||
@ -118,9 +123,9 @@ mkdir -p $RPM_BUILD_ROOT{/boot,/lib/udev/rules.d,%{_initddir},%{_sysconfdir}/{pr
|
|||||||
install -p -m 644 zipl/boot/tape0.bin $RPM_BUILD_ROOT/boot/tape0
|
install -p -m 644 zipl/boot/tape0.bin $RPM_BUILD_ROOT/boot/tape0
|
||||||
install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
||||||
install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
||||||
install -p -m 755 %{SOURCE5} $RPM_BUILD_ROOT/sbin
|
install -p -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_sbindir}
|
||||||
install -p -m 755 %{SOURCE13} $RPM_BUILD_ROOT/sbin
|
install -p -m 755 %{SOURCE13} $RPM_BUILD_ROOT%{_sbindir}
|
||||||
install -p -m 755 %{SOURCE21} $RPM_BUILD_ROOT/sbin
|
install -p -m 755 %{SOURCE21} $RPM_BUILD_ROOT%{_sbindir}
|
||||||
install -p -m 644 %{SOURCE7} $RPM_BUILD_ROOT/lib/udev/rules.d/56-zfcp.rules
|
install -p -m 644 %{SOURCE7} $RPM_BUILD_ROOT/lib/udev/rules.d/56-zfcp.rules
|
||||||
install -p -m 644 %{SOURCE12} $RPM_BUILD_ROOT/lib/udev/rules.d/56-dasd.rules
|
install -p -m 644 %{SOURCE12} $RPM_BUILD_ROOT/lib/udev/rules.d/56-dasd.rules
|
||||||
|
|
||||||
@ -139,7 +144,7 @@ install -Dp -m 644 etc/udev/rules.d/*.rules ${RPM_BUILD_ROOT}/lib/udev/rules.d
|
|||||||
|
|
||||||
# cmsfs tools must be available in /sbin
|
# cmsfs tools must be available in /sbin
|
||||||
for f in cat lst vol cp ck; do
|
for f in cat lst vol cp ck; do
|
||||||
install -p -m 755 cmsfs-%{cmsfsver}/cmsfs${f} $RPM_BUILD_ROOT/sbin
|
install -p -m 755 cmsfs-%{cmsfsver}/cmsfs${f} $RPM_BUILD_ROOT%{_sbindir}
|
||||||
install -p -m 644 cmsfs-%{cmsfsver}/cmsfs${f}.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
install -p -m 644 cmsfs-%{cmsfsver}/cmsfs${f}.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -157,8 +162,8 @@ install -p -m 644 %{SOURCE11} ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/cpi
|
|||||||
install -p -m 755 %{SOURCE10} ${RPM_BUILD_ROOT}%{_initddir}/cpi
|
install -p -m 755 %{SOURCE10} ${RPM_BUILD_ROOT}%{_initddir}/cpi
|
||||||
|
|
||||||
# device_cio_free
|
# device_cio_free
|
||||||
install -p -m 755 %{SOURCE14} ${RPM_BUILD_ROOT}/sbin
|
install -p -m 755 %{SOURCE14} ${RPM_BUILD_ROOT}%{_sbindir}
|
||||||
pushd ${RPM_BUILD_ROOT}/sbin
|
pushd ${RPM_BUILD_ROOT}%{_sbindir}
|
||||||
for lnk in dasd zfcp znet; do
|
for lnk in dasd zfcp znet; do
|
||||||
ln -sf device_cio_free ${lnk}_cio_free
|
ln -sf device_cio_free ${lnk}_cio_free
|
||||||
done
|
done
|
||||||
@ -348,39 +353,39 @@ fi
|
|||||||
%files base
|
%files base
|
||||||
%doc README zdev/src/*.txt
|
%doc README zdev/src/*.txt
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
/sbin/zipl
|
%{_sbindir}/zipl
|
||||||
/sbin/dasdfmt
|
%{_sbindir}/dasdfmt
|
||||||
/sbin/dasdinfo
|
%{_sbindir}/dasdinfo
|
||||||
/sbin/dasdstat
|
%{_sbindir}/dasdstat
|
||||||
/sbin/dasdview
|
%{_sbindir}/dasdview
|
||||||
/sbin/fdasd
|
%{_sbindir}/fdasd
|
||||||
/sbin/chccwdev
|
%{_sbindir}/chccwdev
|
||||||
/sbin/chchp
|
%{_sbindir}/chchp
|
||||||
/sbin/chzcrypt
|
%{_sbindir}/chzcrypt
|
||||||
/sbin/chzdev
|
%{_sbindir}/chzdev
|
||||||
/sbin/cio_ignore
|
%{_sbindir}/cio_ignore
|
||||||
/sbin/lschp
|
%{_sbindir}/lschp
|
||||||
/sbin/lscss
|
%{_sbindir}/lscss
|
||||||
/sbin/lsdasd
|
%{_sbindir}/lsdasd
|
||||||
/sbin/lsqeth
|
%{_sbindir}/lsqeth
|
||||||
/sbin/lsscm
|
%{_sbindir}/lsscm
|
||||||
/sbin/lstape
|
%{_sbindir}/lstape
|
||||||
/sbin/lszcrypt
|
%{_sbindir}/lszcrypt
|
||||||
/sbin/lszdev
|
%{_sbindir}/lszdev
|
||||||
/sbin/lszfcp
|
%{_sbindir}/lszfcp
|
||||||
/sbin/scsi_logging_level
|
%{_sbindir}/scsi_logging_level
|
||||||
/sbin/zfcpdbf
|
%{_sbindir}/zfcpdbf
|
||||||
/sbin/qetharp
|
%{_sbindir}/qetharp
|
||||||
/sbin/qethconf
|
%{_sbindir}/qethconf
|
||||||
/sbin/qethqoat
|
%{_sbindir}/qethqoat
|
||||||
/sbin/tape390_display
|
%{_sbindir}/tape390_display
|
||||||
/sbin/tape390_crypt
|
%{_sbindir}/tape390_crypt
|
||||||
/sbin/ttyrun
|
%{_sbindir}/ttyrun
|
||||||
/sbin/tunedasd
|
%{_sbindir}/tunedasd
|
||||||
/sbin/vmcp
|
%{_sbindir}/vmcp
|
||||||
/sbin/zgetdump
|
%{_sbindir}/zgetdump
|
||||||
/sbin/znetconf
|
%{_sbindir}/znetconf
|
||||||
/sbin/dbginfo.sh
|
%{_sbindir}/dbginfo.sh
|
||||||
%{_bindir}/lscpumf
|
%{_bindir}/lscpumf
|
||||||
%{_sbindir}/lsluns
|
%{_sbindir}/lsluns
|
||||||
%{_sbindir}/lsmem
|
%{_sbindir}/lsmem
|
||||||
@ -458,13 +463,13 @@ fi
|
|||||||
%ghost %config(noreplace) %{_sysconfdir}/zfcp.conf
|
%ghost %config(noreplace) %{_sysconfdir}/zfcp.conf
|
||||||
%{_initddir}/cpi
|
%{_initddir}/cpi
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/cpi
|
%config(noreplace) %{_sysconfdir}/sysconfig/cpi
|
||||||
/sbin/dasdconf.sh
|
%{_sbindir}/dasdconf.sh
|
||||||
/sbin/zfcpconf.sh
|
%{_sbindir}/zfcpconf.sh
|
||||||
/sbin/dasd_cio_free
|
%{_sbindir}/dasd_cio_free
|
||||||
/sbin/device_cio_free
|
%{_sbindir}/device_cio_free
|
||||||
/sbin/zfcp_cio_free
|
%{_sbindir}/zfcp_cio_free
|
||||||
/sbin/znet_cio_free
|
%{_sbindir}/znet_cio_free
|
||||||
/sbin/normalize_dasd_arg
|
%{_sbindir}/normalize_dasd_arg
|
||||||
/lib/systemd/system/device_cio_free.service
|
/lib/systemd/system/device_cio_free.service
|
||||||
%{_sysconfdir}/systemd/system/sysinit.target.wants/device_cio_free.service
|
%{_sysconfdir}/systemd/system/sysinit.target.wants/device_cio_free.service
|
||||||
/lib/udev/ccw_init
|
/lib/udev/ccw_init
|
||||||
@ -693,11 +698,11 @@ URL: http://www.casita.net/pub/cmsfs/cmsfs.html
|
|||||||
This package contains the CMS file system tools.
|
This package contains the CMS file system tools.
|
||||||
|
|
||||||
%files cmsfs
|
%files cmsfs
|
||||||
/sbin/cmsfscat
|
%{_sbindir}/cmsfscat
|
||||||
/sbin/cmsfsck
|
%{_sbindir}/cmsfsck
|
||||||
/sbin/cmsfscp
|
%{_sbindir}/cmsfscp
|
||||||
/sbin/cmsfslst
|
%{_sbindir}/cmsfslst
|
||||||
/sbin/cmsfsvol
|
%{_sbindir}/cmsfsvol
|
||||||
%{_mandir}/man8/cmsfscat.8*
|
%{_mandir}/man8/cmsfscat.8*
|
||||||
%{_mandir}/man8/cmsfsck.8*
|
%{_mandir}/man8/cmsfsck.8*
|
||||||
%{_mandir}/man8/cmsfscp.8*
|
%{_mandir}/man8/cmsfscp.8*
|
||||||
|
Loading…
Reference in New Issue
Block a user