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
This commit is contained in:
parent
3d6a4b548a
commit
bf45557111
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1a2f7bbd10ce118e5b903b7ee956270c187f0dcb32f52d9aa89f1f816054e7df
|
||||
size 27203
|
3
Class-Inspector-1.24.tar.bz2
Normal file
3
Class-Inspector-1.24.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d93c0234ced28ab8f896b52aea23b70a2cafa3825508a70b9db6b19aff1b2cd3
|
||||
size 30761
|
@ -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
|
||||
|
||||
|
@ -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 <cpan@ali.as>
|
||||
|
||||
%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.
|
||||
|
Loading…
Reference in New Issue
Block a user