RPM spec file for RH9
Here's a mod for the dvd+rw-tools.spec file included in 5.12.4.7.4 that
makes it build on Red Hat 9.
*** dvd+rw-tools.spec 2003-08-30 15:54:00.000000000 -0700
--- /usr/src/redhat/SPECS/dvd+rw-tools.spec 2003-09-02
11:19:06.000000000 -0700
***************
*** 24,32 ****
%install
[ %{buildroot} == / ] || rm -rf %{buildroot}
cd %{_builddir}/%{name}-%{version}
! make prefix=${buildroot}%{_prefix} install
mkdir -p %{buildroot}%{_mandir}/man1
cp -a growisofs.1 %{buildroot}%{_mandir}/man1
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}-%{release}
cp -a index.html %{buildroot}%{_docdir}/%{name}-%{version}-%{release}
--- 24,33 ----
%install
[ %{buildroot} == / ] || rm -rf %{buildroot}
cd %{_builddir}/%{name}-%{version}
! make prefix=%{buildroot}%{_prefix} install
mkdir -p %{buildroot}%{_mandir}/man1
cp -a growisofs.1 %{buildroot}%{_mandir}/man1
+ [ %{buildroot} == / ] || rm -rf %{buildroot}/usr/man
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}-%{release}
cp -a index.html %{buildroot}%{_docdir}/%{name}-%{version}-%{release}
........................................
Ron Grant rgrant@balansoft.com
Red Hat Linux Certified Engineer (RHCE)
Balan Software Ltd.
Vancouver, BC Canada +1 604-737-2113
Reply to: