Summary: sane-dasd-update: fix by-id DASD paths on SLES10 s390x systems Name: sane-dasd-update Version: 1.0 Release: 4 Source0: %{name} License: Artistic License 2.0 Group: Utilities BuildRoot: %{_builddir}/%{name}-root BuildArchitectures: noarch %description The sane-dasd-update program finds by-id statements for disks on SLES10 s390x systems in /etc/fstab and /etc/zipl.conf and replaces them with corresponding by-path statements. If desired, it can actually replace the files as well as simply showing the necessary changes. %prep %build cp %{_sourcedir}/sane-dasd-update $RPM_BUILD_ROOT pod2man $RPM_BUILD_ROOT/sane-dasd-update > $RPM_BUILD_ROOT/sane-dasd-update.1 gzip $RPM_BUILD_ROOT/sane-dasd-update.1 %install mkdir -p $RPM_BUILD_ROOT/usr/local/bin mkdir -p $RPM_BUILD_ROOT/usr/local/man/man1 install -m0755 $RPM_BUILD_ROOT/sane-dasd-update $RPM_BUILD_ROOT/usr/local/bin install -m0644 $RPM_BUILD_ROOT/sane-dasd-update.1.gz $RPM_BUILD_ROOT/usr/local/man/man1 rm $RPM_BUILD_ROOT/sane-dasd-update rm $RPM_BUILD_ROOT/sane-dasd-update.1.gz %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/local/bin/sane-dasd-update %doc %attr(0444,root,root) /usr/local/man/man1/sane-dasd-update.1.gz