[opensuse-packaging] RFC: Packaging 3rd party channel pear packages with %php_pear_gen_filelist
I've been trying to convert some of the pear packages in server:php:applications to the handy %php_pear_gen_filelist macro. At first it didn't work because the pear command in the buildroot isn't aware of the 3rd party channel (in my case: Horde). My solution to the problem was to copy the channel registry to the buildroot. %{__mkdir_p} %{buildroot}%{php_peardir}/.channels/ %{__cp} %{php_peardir}/.channels/pear.horde.org.reg \ %{buildroot}%{php_peardir}/.channels/ Full example here: http://www.ralf-lang.de/2011/05/21/howto-packaging-3rd-party-pear-channel- software-with-php_pear_gen_filelist-macro/ Before I begin widespread use of this approach I just want to ask you if there is a better, cleaner or simpler solution. -- Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: lang@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
El 21/05/11 03:09, Ralf Lang escribió:
Before I begin widespread use of this approach I just want to ask you if there is a better, cleaner or simpler solution.
Yes, see php5-pear-channel-phing package -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Samstag, 21. Mai 2011, 17:35:37 schrieb Cristian Rodríguez:
El 21/05/11 03:09, Ralf Lang escribió:
Before I begin widespread use of this approach I just want to ask you if there is a better, cleaner or simpler solution.
Yes, see php5-pear-channel-phing package
This is channel package and doesn't use the macro. As you can see in the example, there is already a channel added - it just doesn't get used because the buildroot is relocated. -- Ralf Lang Linux Consultant / Developer B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Cristian Rodríguez
-
Ralf Lang