/[pkgs]/devel/perl/macros.perl
ViewVC logotype

Contents of /devel/perl/macros.perl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Oct 1 14:41:52 2009 UTC (7 weeks, 3 days ago) by cweyl
Branch: MAIN
CVS Tags: perl-5_10_0-84_fc13, HEAD
Changes since 1.2: +6 -0 lines
* Thu Oct 01 2009 Chris Weyl <cweyl@alumni.drew.edu> - 4:5.10.0-84
- add /perl(UNIVERSAL)/d; /perl(DB)/d to perl_default_filter auto-provides
  filtering
1 # Sensible Perl-specific RPM build macros.
2 #
3 # Note that these depend on the generic filtering system being in place in
4 # rpm core; but won't cause a build to fail if they're not present.
5 #
6 # Chris Weyl <cweyl@alumni.drew.edu> 2009
7
8 # keep track of what "revision" of the filtering we're at. Each time we
9 # change the filter we should increment this.
10
11 %perl_default_filter_revision 2
12
13 # By default, for perl packages we want to filter all files in _docdir from
14 # req/prov scanning, as well as filtering out any provides caused by private
15 # libs in vendorarch/archlib (vendor/core).
16 #
17 # Note that this must be invoked in the spec file, preferably as
18 # "%{?perl_default_filter}", before any %description block.
19
20 %perl_default_filter %{?filter_setup: %{expand: \
21 %filter_provides_in %{perl_vendorarch}/.*\\.so$ \
22 %filter_provides_in -P %{perl_archlib}/(?!CORE/libperl).*\\.so$ \
23 %filter_from_provides /perl(UNIVERSAL)/d; /perl(DB)/d \
24 %filter_provides_in %{_docdir} \
25 %filter_requires_in %{_docdir} \
26 %filter_setup \
27 }}
28

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2