From 40bdf9b88c0b6443450182a4b1848368cb94c52383cb405e36722895587559cd Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 15 Mar 2011 08:54:27 +0000 Subject: [PATCH] - switch to perl_requires macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Class-Inspector?expand=0&rev=20 --- Class-Inspector-1.24.tar.bz2 | 3 --- Class-Inspector-1.25.tar.gz | 3 +++ perl-Class-Inspector.changes | 8 ++++++ perl-Class-Inspector.spec | 47 +++++++++++++++++------------------- 4 files changed, 33 insertions(+), 28 deletions(-) delete mode 100644 Class-Inspector-1.24.tar.bz2 create mode 100644 Class-Inspector-1.25.tar.gz diff --git a/Class-Inspector-1.24.tar.bz2 b/Class-Inspector-1.24.tar.bz2 deleted file mode 100644 index a0265cc..0000000 --- a/Class-Inspector-1.24.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d93c0234ced28ab8f896b52aea23b70a2cafa3825508a70b9db6b19aff1b2cd3 -size 30761 diff --git a/Class-Inspector-1.25.tar.gz b/Class-Inspector-1.25.tar.gz new file mode 100644 index 0000000..96245e2 --- /dev/null +++ b/Class-Inspector-1.25.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7917c2c5966b51130d3addb8dbeb6f501ea6df30ad169acccc5f15039a13d18d +size 38462 diff --git a/perl-Class-Inspector.changes b/perl-Class-Inspector.changes index 12d9e63..7303b22 100644 --- a/perl-Class-Inspector.changes +++ b/perl-Class-Inspector.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Mar 15 08:46:46 UTC 2011 - coolo@novell.com + +- update to 0.25: + - Updating to Module::Install::DSL 1.00 + - Updating copyright year +- regenerate spec file + ------------------------------------------------------------------- Wed Dec 1 06:55:33 UTC 2010 - coolo@novell.com diff --git a/perl-Class-Inspector.spec b/perl-Class-Inspector.spec index 084f3c7..534e8db 100644 --- a/perl-Class-Inspector.spec +++ b/perl-Class-Inspector.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-Class-Inspector (Version 1.24) +# spec file for package perl-Class-Inspector (Version 1.25) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -15,39 +15,36 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: perl-Class-Inspector -%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) -Summary: Get Information About a Loaded Class -Version: 1.24 -Release: 8 -License: Artistic ; GPLv2+ +Version: 1.25 +Release: 1 +License: GPL+ or Artistic +%define cpan_name Class-Inspector +Summary: Get information about a class and its structure +Url: http://search.cpan.org/dist/Class-Inspector/ Group: Development/Libraries/Perl -Url: http://search.cpan.org/~adamk/Class-Inspector -Source: %{cpan_name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} +#Source: http://www.cpan.org/authors/id/A/AD/ADAMK/Class-Inspector-%{version}.tar.gz +Source: %{cpan_name}-%{version}.tar.gz +BuildRequires: perl(File::Spec) >= 0.80 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(File::Spec) >= 0.80 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%{perl_requires} %description -Class::Inspector allows you to get information about a loaded class. -Most or all of this information can be found in other ways, but they -are not always very conveniet, and usually involve a relatively high -level of Perl wizardry, or strange and unusual looking code. -Class-Inspector attempts to provide an easier, more friendly interface -to this information. +Class::Inspector allows you to get information about a loaded class. Most +or all of this information can be found in other ways, but they aren't +always very friendly, and usually involve a relatively high level of Perl +wizardry, or strange and unusual looking code. Class::Inspector attempts to +provide an easier, more friendly interface to this information. %prep -%setup -n %{cpan_name}-%{version} +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" +%{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check @@ -62,7 +59,7 @@ perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__rm} -rf %{buildroot} %files -f %{name}.files -%defattr(-,root,root) +%defattr(644,root,root,755) %doc Changes LICENSE README %changelog