Christian Wittmer 2010-11-11 20:01:48 +00:00 committed by Git OBS Bridge
parent 5c9fb20796
commit 90d2da7da1
4 changed files with 88 additions and 35 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:88ee4273696067ac674cd8dfe4cde9b576f4e98d4dd9ed27e9eaaad2fa3a839a
size 25066

3
MRO-Compat-0.11.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:499b2672775a18a7557d338f02d3b59f9569cb23ce8bb97c280d3da857411ec8
size 19331

19
perl-MRO-Compat.changes Normal file
View File

@ -0,0 +1,19 @@
-------------------------------------------------------------------
Thu Nov 11 20:01:05 UTC 2010 - chris@computersalat.de
- update to 0.11
- Fix misspelled docs for get_isarev. Closes RT#46401.
- Bump optional prereq on Class::C3 to 0.20.
- 0.10 - Wed Mar 25, 2009
- Remove the fake Build.PL. Module::Install doesn't support that anymore.
(Florian Ragwitz)
- Remove auto_install from Makefile.PL. Its use is strongly discouraged.
(Closes RT#44542) (Simon Betrang)
- noarch pkg
- changelog to changes file
-------------------------------------------------------------------
Sun Oct 26 13:38:07 UTC 2008 - gerrit.beine@gmx.de
- first release 0.09

View File

@ -1,17 +1,48 @@
%define cpan_name MRO-Compat #
# spec file for package perl-MRO-Compat (Version 0.11)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Name: perl-%cpan_name # Please submit bugfixes or comments via http://bugs.opensuse.org/
Version: 0.09 #
Release: 1
Provides: %cpan_name # norootforbuild
Requires: perl = %{perl_version} perl-Class-C3
Group: Development/Libraries/Perl %bcond_with pod
License: Artistic
URL: http://search.cpan.org/dist/MRO-Compat/ Name: perl-MRO-Compat
Summary: mro::* interface compatibility for Perls < 5.9.5 %define cpan_name MRO-Compat
Source: %cpan_name-%{version}.tar.gz Summary: Mro::* interface compatibility for Perls < 5.9.5
BuildRoot: %{_tmppath}/%{name}-%{version}-build Version: 0.11
BuildRequires: perl-Class-C3 Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/MRO-Compat/
#Source: http://www.cpan.org/modules/by-module/MRO/MRO-Compat-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%if %{with pod}
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
%endif
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Class::C3) >= 0.20
Requires: perl = %{perl_version}
Requires: perl(Class::C3) >= 0.20
%description %description
The "mro" namespace provides several utilities for dealing with method The "mro" namespace provides several utilities for dealing with method
@ -39,31 +70,34 @@ function basically does, and what differences between MRO::Compat and 5.9.5+
One should look out for. The main docs in 5.9.5's mro are the real interface One should look out for. The main docs in 5.9.5's mro are the real interface
docs, and contain a lot of other useful information. docs, and contain a lot of other useful information.
Authors:
--------
Brandon L. Black, <blblack@gmail.com>
%prep %prep
%setup -q -n %cpan_name-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{__make} %{?_smp_mflags}
make test
%check
%{__make} test
%install %install
make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_make_install
%perl_process_packlist # do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist
%clean %clean
# clean up the hard disc after build %{__rm} -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
%files %files -f %{name}.files
%defattr(-,root,root) %defattr(-,root,root,-)
%doc %{_mandir}/man?/* %doc ChangeLog README
%{perl_vendorlib}/MRO
%{perl_vendorarch}/auto/MRO
/var/adm/perl-modules/%{name}
%doc ChangeLog MANIFEST README
%changelog -n %{name}
* Sun Oct 26 2008 - gerrit.beine@gmx.de
- first release 0.09
%changelog