Re: RPM spec file for RH9

2003-09-06 Thread Andy Polyakov
> > > + [ %{buildroot} == / ] || rm -rf %{buildroot}/usr/man > > > > This is basically redundant > > It's actually wrong. The idea is to build the package into an empty > directory. There is '[ %{buildroot} == / ] || rm -rf %{buildroot}' few lines up, isn't there? The idea behind the extra rm sug

Re: RPM spec file for RH9

2003-09-06 Thread Andy Polyakov
> > > + [ %{buildroot} == / ] || rm -rf %{buildroot}/usr/man > > > > This is basically redundant > > It's actually wrong. The idea is to build the package into an empty > directory. There is '[ %{buildroot} == / ] || rm -rf %{buildroot}' few lines up, isn't there? The idea behind the extra rm sug

Re: RPM spec file for RH9

2003-09-06 Thread Volker Kuhlmann
> > + [ %{buildroot} == / ] || rm -rf %{buildroot}/usr/man > > This is basically redundant It's actually wrong. The idea is to build the package into an empty directory. To make sure, the directory in which the package is created is cleared out first. To prevent total disaster for idiots^H^H^H^Hu

Re: RPM spec file for RH9

2003-09-06 Thread Andy Polyakov
> While we're at spec files, man pages go into share, i.e. /usr/share/man. > I didn't want to bother with a separate patch for this, so put this into > the spec file: > > cp -p Makefile.m4 Makefile.m4.orig > sed Makefile.m4 \ > -e 's:$(prefix)/man/:$(prefix)/share/man/:g' /usr/local/share

Re: RPM spec file for RH9

2003-09-06 Thread Andy Polyakov
> 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. Thank you for submission. > + [ %{buildroot} == / ] || rm -rf %{buildroot}/usr/man This is basically redundant, because %files section does not cover it and usr/man/man1/growisofs.1 therefore

Re: RPM spec file for RH9

2003-09-06 Thread Volker Kuhlmann
> > + [ %{buildroot} == / ] || rm -rf %{buildroot}/usr/man > > This is basically redundant It's actually wrong. The idea is to build the package into an empty directory. To make sure, the directory in which the package is created is cleared out first. To prevent total disaster for idiots^H^H^H^Hu

Re: RPM spec file for RH9

2003-09-06 Thread Andy Polyakov
> While we're at spec files, man pages go into share, i.e. /usr/share/man. > I didn't want to bother with a separate patch for this, so put this into > the spec file: > > cp -p Makefile.m4 Makefile.m4.orig > sed Makefile.m4 \ > -e 's:$(prefix)/man/:$(prefix)/share/man/:g' /usr/local/share

Re: RPM spec file for RH9

2003-09-06 Thread Andy Polyakov
> 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. Thank you for submission. > + [ %{buildroot} == / ] || rm -rf %{buildroot}/usr/man This is basically redundant, because %files section does not cover it and usr/man/man1/growisofs.1 therefore

Re: RPM spec file for RH9

2003-09-02 Thread Volker Kuhlmann
While we're at spec files, man pages go into share, i.e. /usr/share/man. I didn't want to bother with a separate patch for this, so put this into the spec file: cp -p Makefile.m4 Makefile.m4.orig sed Makefile.m4 \ -e 's:$(prefix)/man/:$(prefix)/share/man/:g' Packages as usual in http://vo

Re: RPM spec file for RH9

2003-09-02 Thread Volker Kuhlmann
While we're at spec files, man pages go into share, i.e. /usr/share/man. I didn't want to bother with a separate patch for this, so put this into the spec file: cp -p Makefile.m4 Makefile.m4.orig sed Makefile.m4 \ -e 's:$(prefix)/man/:$(prefix)/share/man/:g' Packages as usual in http://vo

RPM spec file for RH9

2003-09-02 Thread Ron Grant
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.0 -0700 --- /usr/src/redhat/SPECS/dvd+rw-tools.spec 2003-09-02 11:19:06.0 -0700 *** *** 24,32 %install [ %{bui

RPM spec file for RH9

2003-09-02 Thread Ron Grant
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.0 -0700 --- /usr/src/redhat/SPECS/dvd+rw-tools.spec 2003-09-02 11:19:06.0 -0700 *** *** 24,32 %install [ %{bui