> > > + [ %{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
> > > + [ %{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
> > + [ %{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
> 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
> 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
> > + [ %{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
> 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
> 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
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
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
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
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
12 matches
Mail list logo