Topic: Creating .spec files for PECL packages

How are you creating your spec files?

I have a CentOS 5.7 x86_64 system with PHP 5.3.10 and PEAR 1.9.x. I have installed the PEAR_Command_Packaging module and can run "pear make-rpm-spec <source.tgz>"  for PEAR modules from pear.php.net but when I try "pecl make-rpm-spec <source.tgz> for a number of PECL modules from pecl.php.net, it always fails with "could not chdir to /var/tmp/<module>".

SElinux is in permissive mode right now and I'm running this as root.

I see most of the PECL modules we currently use exist in your repo so we could just mirror that and use your RPMs but in the case that we need others, I'd like to know a method that works.

Thanks,
Dave

Re: Creating .spec files for PECL packages

AFAIK, PEAR_Command_Packaging doesn't handle (yet) pecl extension.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi