[opensuse-buildservice] Variables in RPM
![](https://seccdn.libravatar.org/avatar/6b2ec66c6a7057e2d6744b539e7f8dda.jpg?s=120&d=mm&r=g)
Hello, I would like to have the output of "pkg-config --variable=pluginsdir gstreamer-0.10" in a variable, so I can use it in %files section. How can I do this? Everything I tried failed. Ciao -- http://www.dstoecker.eu/ (PGP key available) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/2fdc06a0fc8b49022ed015b5bf3154f6.jpg?s=120&d=mm&r=g)
Hi Dirk, Dirk Stoecker wrote:
Hello,
I would like to have the output of "pkg-config --variable=pluginsdir gstreamer-0.10" in a variable, so I can use it in %files section. How can I do this? Everything I tried failed.
Try the approach used here: http://freesteam.cvs.sourceforge.net/freesteam/freesteam/freesteam.spec.in?revision=1.15&view=markup Cheers JP --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/6b2ec66c6a7057e2d6744b539e7f8dda.jpg?s=120&d=mm&r=g)
On Mon, 10 Sep 2007, John Pye wrote:
I would like to have the output of "pkg-config --variable=pluginsdir gstreamer-0.10" in a variable, so I can use it in %files section. How can I do this? Everything I tried failed.
Try the approach used here: http://freesteam.cvs.sourceforge.net/freesteam/freesteam/freesteam.spec.in?revision=1.15&view=markup
Thanks. Works fine. Ciao -- http://www.dstoecker.eu/ (PGP key available) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Dirk Stoecker
-
John Pye