|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-Class-Prototyped
|
|
|
|
|
Version: 1.11
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
Summary: Fast prototype-based OO programming in Perl
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -21,12 +21,17 @@ have objects inherit their behavior and state from another object.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Class-Prototyped-%{version}
|
|
|
|
|
|
|
|
|
|
# RPM 4.8 style
|
|
|
|
|
%{?filter_setup:
|
|
|
|
|
%filter_from_provides /^perl(My[^)]*Class)$/g
|
|
|
|
|
%filter_from_requires /^perl(Class::Prototyped::Graph)$/g
|
|
|
|
|
%filter_requires_in %{_docdir}/examples
|
|
|
|
|
%filter_setup
|
|
|
|
|
}
|
|
|
|
|
# RPM 4.9 style
|
|
|
|
|
%global __provides_exclude %{?__provides_exclude?__provides_exclude|}^perl\\(My[^\\)]*Class\\)$
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude?__requires_exclude|}^perl\\(Class::Prototyped::Graph\\)$
|
|
|
|
|
%global __requires_exclude_from %{?__requires_exclude_from?__requires_exclude_from|}%{_docdir}/examples
|
|
|
|
|
|
|
|
|
|
# Documentation and libraries should not be executable
|
|
|
|
|
chmod -x perf/* examples/* Changes lib/Class/*.pm lib/Class/Prototyped/*
|
|
|
|
@ -57,6 +62,9 @@ rm -rf %{buildroot}
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jul 22 2011 Petr Pisar <ppisar@redhat.com> - 1.11-11
|
|
|
|
|
- RPM 4.9 dependency filtering added
|
|
|
|
|
|
|
|
|
|
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.11-10
|
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
|
|