Re: [experimental PATCH] try to get RPM dependency right for Qt

2004-09-19 Thread Georg Baum
Am Freitag, 10. September 2004 16:06 schrieb Angus Leeming: > Georg Baum wrote: > >> Georg Baum wrote: > >>> %define frontdep @RPM_FRONTEND_DEPS@ %(eval > >>> %{_builddir}/%{name}-%{version}/development/find_dep) > >> > >> Can you not define it in the spec file itself? I have this in the spec > >>

Re: [experimental PATCH] try to get RPM dependency right for Qt

2004-09-10 Thread Angus Leeming
Georg Baum wrote: >> Georg Baum wrote: >> >>> %define frontdep @RPM_FRONTEND_DEPS@ %(eval >>> %{_builddir}/%{name}-%{version}/development/find_dep) >> >> Can you not define it in the spec file itself? I have this in the spec >> file for XForms (below). Can one not define arbitrary shell scripts i

Re: [experimental PATCH] try to get RPM dependency right for Qt

2004-09-10 Thread Georg Baum
Angus Leeming wrote: > Georg Baum wrote: > >> %define frontdep @RPM_FRONTEND_DEPS@ %(eval >> %{_builddir}/%{name}-%{version}/development/find_dep) > > Can you not define it in the spec file itself? I have this in the spec > file for XForms (below). Can one not define arbitrary shell scripts in a

Re: [experimental PATCH] try to get RPM dependency right for Qt

2004-09-07 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc Lasgouttes wrote: >>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: >> Georg> I searched a bit and saw in an example that "or" is supported Georg> (at least in rpm 4.1.1), but Angus' script is better. >> Could you se

Re: [experimental PATCH] try to get RPM dependency right for Qt

2004-09-07 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Georg" == Georg Baum >> <[EMAIL PROTECTED]> >> writes: > > Georg> I searched a bit and saw in an example that "or" is supported > Georg> (at least in rpm 4.1.1), but Angus' script is better. > > Could you send a reference on that? I found it in /usr/s

Re: [experimental PATCH] try to get RPM dependency right for Qt

2004-09-07 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Requires: tetex-latex | te_latex >> As far as I know it does not, unfortunately. Georg> I searched a bit and saw in an example that "or" is supported Georg> (at least in rpm 4.1.1), but Angus' script is better. Could you send a refe

Re: [experimental PATCH] try to get RPM dependency right for Qt

2004-08-23 Thread John Weiss
On Mon, Aug 09, 2004 at 04:41:51PM +0200, Jean-Marc Lasgouttes wrote: > > Yes, but if the library is not installed, rpm does not know IMO what > package provides libqt-mt.so.3. And also, no version checking is done. > Here we will get on mandrake > libqt3 >= 3.3.1 > for example. Guys: You can ma

Re: [experimental PATCH] try to get RPM dependency right for Qt

2004-08-19 Thread Andre Poenitz
On Mon, Aug 09, 2004 at 04:41:51PM +0200, Jean-Marc Lasgouttes wrote: > Yes, but if the library is not installed, rpm does not know IMO what > package provides libqt-mt.so.3. We don't now either given that distributions name their packages differently. Andre'

Re: [experimental PATCH] try to get RPM dependency right for Qt

2004-08-09 Thread Angus Leeming
Georg Baum wrote: > Angus Leeming wrote: > >> Jean-Marc Lasgouttes wrote: >> >>> We could do the same and ask which package provides `which latex`. >> >> Clever! It even works. In fact, could the script below be modified so >> that all continues to work if latex is found but is also found to no

Re: [experimental PATCH] try to get RPM dependency right for Qt

2004-08-09 Thread Georg Baum
Angus Leeming wrote: > Jean-Marc Lasgouttes wrote: > >> We could do the same and ask which package provides `which latex`. > > Clever! It even works. In fact, could the script below be modified so that > all continues to work if latex is found but is also found to not be a part > of an rpm? The

Re: [experimental PATCH] try to get RPM dependency right for Qt

2004-08-09 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > We could do the same and ask which package provides `which latex`. Indeed. > Georg> Why is the manual dependency of qt needed at all? IIRC rpm > Georg> handles library dependencies automatically, so we don't need to > Georg> specify qt and xforms at all, because rpm

Re: [experimental PATCH] try to get RPM dependency right for Qt

2004-08-09 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >> "Georg" == Georg Baum >> <[EMAIL PROTECTED]> >> writes: > > Georg> Jean-Marc Lasgouttes wrote: >>> The current autogenerated lyx.spec for rpms suffers from an >>> annoying bug: The dependency for Qt is hardcoded to 'qt >= 2.3.0'. >>> However, the package

Re: [experimental PATCH] try to get RPM dependency right for Qt

2004-08-09 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc Lasgouttes wrote: >> The current autogenerated lyx.spec for rpms suffers from an >> annoying bug: The dependency for Qt is hardcoded to 'qt >= 2.3.0'. >> However, the package is named 'qt' only on redhat/fedora. On SUSE >> it

Re: [experimental PATCH] try to get RPM dependency right for Qt

2004-08-09 Thread Kuba Ober
> The current autogenerated lyx.spec for rpms suffers from an annoying > bug: The dependency for Qt is hardcoded to 'qt >= 2.3.0'. However, the > package is named 'qt' only on redhat/fedora. On SUSE it is 'qt3' and > on mandrake it is 'libqt3'. This proves to be an annoyance for our > user-contribu

Re: [experimental PATCH] try to get RPM dependency right for Qt

2004-08-09 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > The current autogenerated lyx.spec for rpms suffers from an annoying > bug: The dependency for Qt is hardcoded to 'qt >= 2.3.0'. However, the > package is named 'qt' only on redhat/fedora. On SUSE it is 'qt3' and > on mandrake it is 'libqt3'. This proves to be an anno

[experimental PATCH] try to get RPM dependency right for Qt

2004-08-09 Thread Jean-Marc Lasgouttes
The current autogenerated lyx.spec for rpms suffers from an annoying bug: The dependency for Qt is hardcoded to 'qt >= 2.3.0'. However, the package is named 'qt' only on redhat/fedora. On SUSE it is 'qt3' and on mandrake it is 'libqt3'. This proves to be an annoyance for our user-contributed rpms