Mailinglist Archive: opensuse-packaging (235 mails)
| < Previous | Next > |
[opensuse-packaging] php5-pear-xinc problem
- From: Marguerite Su <i@xxxxxxxxxxxxx>
- Date: Thu, 1 Mar 2012 17:26:02 +0800
- Message-id: <CAK0PdAmQ19HUmE1ftgNQYYgNesBo5gVhAYV2nZLqNjB3Y9m7Dw@mail.gmail.com>
Hi, Ralf,
It's a weird problem. you can see it from here:
https://build.opensuse.org/package/show?package=php5-pear-xinc&project=home%3AMargueriteSu%3Abranches%3Aserver%3Aphp%3Aapplications
I deleted "xinc" from s:p:a and created a package "php5-pear-xinc".
due to pear.php.net bug #9280 and #10661, I can't just install using:
pear -c pearrc install --nodeps --packagingroot %{buildroot} %{SOURCE0}
directly. it'll return a unknown channel and Xinc-2.1.tgz no valid
error. so I found a workaround here:
http://yuval.bar-or.org/blog/2009/11/offline-installation-of-pear-packages/
by replacing unofficial channel with pear.php.net using:
sed -i
"s/<channel>pear.elektrischeslicht.de<\/channel>/<channel>pear.php.net<\/channel>/"
package.xml
and later change it back to install xml.
But I got a %post failure while the %post scriptlet is exactly the
same as other packages in s:p:a.
anyone knows how to get out from this?
Marguerite
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx
It's a weird problem. you can see it from here:
https://build.opensuse.org/package/show?package=php5-pear-xinc&project=home%3AMargueriteSu%3Abranches%3Aserver%3Aphp%3Aapplications
I deleted "xinc" from s:p:a and created a package "php5-pear-xinc".
due to pear.php.net bug #9280 and #10661, I can't just install using:
pear -c pearrc install --nodeps --packagingroot %{buildroot} %{SOURCE0}
directly. it'll return a unknown channel and Xinc-2.1.tgz no valid
error. so I found a workaround here:
http://yuval.bar-or.org/blog/2009/11/offline-installation-of-pear-packages/
by replacing unofficial channel with pear.php.net using:
sed -i
"s/<channel>pear.elektrischeslicht.de<\/channel>/<channel>pear.php.net<\/channel>/"
package.xml
and later change it back to install xml.
But I got a %post failure while the %post scriptlet is exactly the
same as other packages in s:p:a.
anyone knows how to get out from this?
Marguerite
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx
| < Previous | Next > |