[projects/template-specs] - stop including perl macros, it's not needed, rpm does this on its own

Jakub Bogusz qboosh at pld-linux.org
Sun Jan 26 11:30:19 CET 2020


On Sat, Jan 25, 2020 at 02:06:07PM +0100, baggins wrote:
> commit f75adea6b3f6c1343989e98a27167605ed55b780
> Author: Jan Rękorajski <baggins at pld-linux.org>
> Date:   Sat Jan 25 14:03:53 2020 +0100
> 
>     - stop including perl macros, it's not needed, rpm does this on its own

I wonder how to specify dependency on rpm(-build) which includes
perl/php/* macros now.

Currently building e.g. perl-* module with 1 month old rpm succeeds, but results
in missing perl() reqs/provs.

Maybe change rpm-*prov Provides to "= 1:%{version}" and bump
rpm-*prov dependencies to 1:1.745?
This would force upgrade to new rpm macros packaging/processing due to
name changes (just remember not to provide rpm-build-macros in new macros packages to
ensure they won't satisfy older rpm-build dependencies).

The other thing is that some packages intentionally didn't include
macros.perl or macros.php to avoid unwanted perl() / pear() dependencies
autogeneration, but can be handled by _noautoreq_{perl,pear} now.


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list