Mailinglist Archive: opensuse-packaging (202 mails)
| < Previous | Next > |
[opensuse-packaging] RFC: Packaging 3rd party channel pear packages with %php_pear_gen_filelist
- From: Ralf Lang <lang@xxxxxxxxxxxxx>
- Date: Sat, 21 May 2011 09:09:30 +0200
- Message-id: <201105210909.31286.lang@b1-systems.de>
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@xxxxxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
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@xxxxxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |