Re: [MeeGo-dev] How can I know one package is built from which source package with zypper tool?

2011-01-10 Thread Gabriel M. Beddingfield
On Mon, 10 Jan 2011, Dave Neary wrote: You can then install the source package by taking the entry in the "Name" column as the package name: zypper si qt-4.7.1 or whatever. This only works if the source package and the binary package have the same name... which is not always the case. F

Re: [MeeGo-dev] How can I know one package is built from which source package with zypper tool?

2011-01-10 Thread Wichmann, Mats D
meego-dev-boun...@meego.com wrote: > Hi, > > zhu wrote: >> For example. >> I know libqtopengl4 is built from qt-4.7.1-3.1.src.rpm. >> >> Does any zypper command can know libqtopengl4 came's from >> qt-4.7.1-3.1.src.rpm. >> >> like what yumdownloader do: >> yumdownloader --source libqtopengl4 .

Re: [MeeGo-dev] How can I know one package is built from which source package with zypper tool?

2011-01-10 Thread zhu
hi, [...@zhu-desktop bin]$ zypper wp libqtopengl4 Loading repository data... Reading installed packages... S | Name | Type| Version | Arch | Repository --+--+-+---+--+--- i | libqtopengl4 | package | 4.7.0-3.1 | i586 | core the "Name" column

Re: [MeeGo-dev] How can I know one package is built from which source package with zypper tool?

2011-01-10 Thread Dave Neary
Hi, zhu wrote: > For example. > I know libqtopengl4 is built from qt-4.7.1-3.1.src.rpm. > > Does any zypper command can know libqtopengl4 came's from > qt-4.7.1-3.1.src.rpm. > > like what yumdownloader do: > yumdownloader --source libqtopengl4 . Does this do what you want? zypper wp libqtope

Re: [MeeGo-dev] How can I know one package is built from which source package with zypper tool?

2011-01-10 Thread zhu
Hi, Here is the output . "source install" don't use the same package name as "install". # rpm -qf /usr/lib/libQtOpenGL.so.4 libqtopengl4-4.7.1-3.1.i586 # zypper si libqtopengl4-4.7.1-3.1.i586 Reading installed packages... Loading repository data... Source package 'libqtopengl4-4.7.1-3.1.i586' n

Re: [MeeGo-dev] How can I know one package is built from which source package with zypper tool?

2011-01-10 Thread danny
Hi, rpm -qf file-you-want This could get the rpm package name, and then use: rpm -qi package-name or you could get the source package by: zyppet si package-name -- Best Regards, At 2011-01-10 16:22:18,zhu wrote: >For example. >I know libqtopengl4 is built from qt-4.7.1-3.1.src.rpm. >

[MeeGo-dev] How can I know one package is built from which source package with zypper tool?

2011-01-10 Thread zhu
For example. I know libqtopengl4 is built from qt-4.7.1-3.1.src.rpm. Does any zypper command can know libqtopengl4 came's from qt-4.7.1-3.1.src.rpm. like what yumdownloader do: yumdownloader --source libqtopengl4 . Thanks ___ MeeGo-dev mailing list Me