- fix macros.perl *sigh*
This commit is contained in:
parent
7163da9f8d
commit
c9d7b8c29d
13
macros.perl
13
macros.perl
|
@ -1,21 +1,22 @@
|
||||||
# Sensible Perl-specific RPM build macros
|
# Sensible Perl-specific RPM build macros.
|
||||||
#
|
#
|
||||||
# Note that these depend on the generic filtering system being in place in
|
# Note that these depend on the generic filtering system being in place in
|
||||||
# rpm core.
|
# rpm core; but won't cause a build to fail if they're not present.
|
||||||
#
|
#
|
||||||
# Chris Weyl <cweyl@alumni.drew.edu> 2009
|
# Chris Weyl <cweyl@alumni.drew.edu> 2009
|
||||||
|
|
||||||
# By default, for perl packages we want to filter all files in _docdir from
|
# By default, for perl packages we want to filter all files in _docdir from
|
||||||
# req/prov scanning, as well as filtering out any provides caused by private
|
# req/prov scanning, as well as filtering out any provides caused by private
|
||||||
# libs in vendorarch/archlib (vendor/core)
|
# libs in vendorarch/archlib (vendor/core).
|
||||||
#
|
#
|
||||||
# This should also give a good sense of how to use these macros.
|
# Note that this must be invoked in the spec file, preferably as
|
||||||
|
# "%{?perl_default_filter}", before any %description block.
|
||||||
|
|
||||||
%define perl_default_filter %{expand: \
|
%perl_default_filter %{?filter_setup: %{expand: \
|
||||||
%filter_provides_in %{perl_vendorarch}/.*\\.so$ \
|
%filter_provides_in %{perl_vendorarch}/.*\\.so$ \
|
||||||
%filter_provides_in -P %{perl_archlib}/(?!CORE/libperl).*\\.so$ \
|
%filter_provides_in -P %{perl_archlib}/(?!CORE/libperl).*\\.so$ \
|
||||||
%filter_provides_in %{_docdir} \
|
%filter_provides_in %{_docdir} \
|
||||||
%filter_requires_in %{_docdir} \
|
%filter_requires_in %{_docdir} \
|
||||||
%filter_setup \
|
%filter_setup \
|
||||||
}
|
}}
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
Name: perl
|
Name: perl
|
||||||
Version: %{perl_version}
|
Version: %{perl_version}
|
||||||
Release: 80%{?dist}
|
Release: 81%{?dist}
|
||||||
Epoch: %{perl_epoch}
|
Epoch: %{perl_epoch}
|
||||||
Summary: Practical Extraction and Report Language
|
Summary: Practical Extraction and Report Language
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
|
@ -1939,6 +1939,9 @@ TMPDIR="$PWD/tmp" make test
|
||||||
|
|
||||||
# Old changelog entries are preserved in CVS.
|
# Old changelog entries are preserved in CVS.
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 27 2009 Chris Weyl <cweyl@alumni.drew.edu> - 4:5.10.0-81
|
||||||
|
- fix macros.perl *sigh*
|
||||||
|
|
||||||
* Mon Aug 24 2009 Stepan Kasal <skasal@redhat.com> - 4:5.10.0-80
|
* Mon Aug 24 2009 Stepan Kasal <skasal@redhat.com> - 4:5.10.0-80
|
||||||
- Remove -DDEBUGGING=-g, we are not ready yet.
|
- Remove -DDEBUGGING=-g, we are not ready yet.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue