- switch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Class-Inspector?expand=0&rev=20
This commit is contained in:
parent
ee6d718d31
commit
40bdf9b88c
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d93c0234ced28ab8f896b52aea23b70a2cafa3825508a70b9db6b19aff1b2cd3
|
||||
size 30761
|
3
Class-Inspector-1.25.tar.gz
Normal file
3
Class-Inspector-1.25.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7917c2c5966b51130d3addb8dbeb6f501ea6df30ad169acccc5f15039a13d18d
|
||||
size 38462
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user