From bf4555711115758fb208478e2c4382eb7422677c57a1288c6444998e5b480970 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Tue, 12 Jan 2010 13:18:39 +0000 Subject: [PATCH] Accepting request 28381 from devel:languages:perl Copy from devel:languages:perl/perl-Class-Inspector based on submit request 28381 from user coolo OBS-URL: https://build.opensuse.org/request/show/28381 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Inspector?expand=0&rev=6 --- Class-Inspector-1.23.tar.bz2 | 3 -- Class-Inspector-1.24.tar.bz2 | 3 ++ perl-Class-Inspector.changes | 14 ++++++++ perl-Class-Inspector.spec | 67 +++++++++++++----------------------- 4 files changed, 41 insertions(+), 46 deletions(-) delete mode 100644 Class-Inspector-1.23.tar.bz2 create mode 100644 Class-Inspector-1.24.tar.bz2 diff --git a/Class-Inspector-1.23.tar.bz2 b/Class-Inspector-1.23.tar.bz2 deleted file mode 100644 index 93a7d1a..0000000 --- a/Class-Inspector-1.23.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1a2f7bbd10ce118e5b903b7ee956270c187f0dcb32f52d9aa89f1f816054e7df -size 27203 diff --git a/Class-Inspector-1.24.tar.bz2 b/Class-Inspector-1.24.tar.bz2 new file mode 100644 index 0000000..a0265cc --- /dev/null +++ b/Class-Inspector-1.24.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d93c0234ced28ab8f896b52aea23b70a2cafa3825508a70b9db6b19aff1b2cd3 +size 30761 diff --git a/perl-Class-Inspector.changes b/perl-Class-Inspector.changes index c4b2e39..fb047ba 100644 --- a/perl-Class-Inspector.changes +++ b/perl-Class-Inspector.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Thu Dec 10 22:43:38 UTC 2009 - chris@computersalat.de + +- update to version 1.24 + * Updating Perl dependency to 5.006 + * Updating to Module::Install::DSL 0.83 + * Add the Class::Inspector::Functions interface. +- cleanup spec + * fix deps + * removed changelog entries +- add perl-macros + * perl_gen_filelist + + ------------------------------------------------------------------- Wed Jan 21 15:58:17 CET 2009 - pth@suse.de diff --git a/perl-Class-Inspector.spec b/perl-Class-Inspector.spec index c8c694d..7b5d031 100644 --- a/perl-Class-Inspector.spec +++ b/perl-Class-Inspector.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-Class-Inspector (Version 1.23) +# spec file for package perl-Class-Inspector (Version 1.24) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -19,18 +19,22 @@ Name: perl-Class-Inspector -%define perl_name Class-Inspector -BuildRequires: perl-Pod-Escapes perl-Pod-Simple perl-Test-Pod -Url: http://search.cpan.org/~adamk/Class-Inspector -License: Artistic License; GPL v2 or later -Group: Development/Libraries/Perl -Requires: perl-Pod-Escapes perl-Pod-Simple perl-Test-Pod perl = %{perl_version} -AutoReqProv: on +%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Get Information About a Loaded Class -Version: 1.23 +Version: 1.24 Release: 1 -Source: Class-Inspector-%{version}.tar.bz2 +License: Artistic ; GPLv2+ +Group: Development/Libraries/Perl +Url: http://search.cpan.org/~adamk/Class-Inspector +Source: %{cpan_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(File::Spec) >= 0.80 +BuildRequires: perl(Test::More) >= 0.47 +BuildRequires: perl(Pod::Escapes) +BuildRequires: perl(Test::Pod) +Requires: perl = %{perl_version} %description Class::Inspector allows you to get information about a loaded class. @@ -47,48 +51,25 @@ Authors: Adam Kennedy %prep -%setup -n %{perl_name}-%{version} +%setup -n %{cpan_name}-%{version} %build -perl Makefile.PL -make +perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" +%{__make} %check -make test -# --------------------------------------------------------------------------- +%{__make} test %install -make DESTDIR=%buildroot install_vendor +%perl_make_install %perl_process_packlist +%perl_gen_filelist %clean -rm -rf %buildroot +%{__rm} -rf %{buildroot} -%files +%files -f %{name}.files %defattr(-,root,root) -%doc Changes LICENSE MANIFEST README -%dir %{perl_vendorlib}/Class -%{perl_vendorlib}/Class/Inspector.pm -%dir %{perl_vendorarch}/auto/Class -%dir %{perl_vendorarch}/auto/Class/Inspector -%{perl_vendorarch}/auto/Class/Inspector/.packlist -%doc %{_mandir}/man3/Class::Inspector.3pm.gz -/var/adm/perl-modules/%{name} +%doc Changes LICENSE README %changelog -* Wed Jan 21 2009 pth@suse.de -- Update to 1.23. - Changes since 1.19: - - Updating to Module::Install 0.75 - - Correcting the location of the author tests - - Adding experimental support for utf8 methods - (as per http://rt.cpan.org/Public/Bug/Display.html?id=28796) - - Adapt to changes to File::Spec -* Tue Nov 20 2007 pth@suse.de -- Update to 1.18: - - Updated to Module::Install 0.68 - (This brings META.yml to the current version) - - Classes with leading numbers after the first :: are permitted - - Removing some old cruft from the tests -* Wed Oct 18 2006 pth@suse.de -- Initial package creation.