cpanspec, fix deps
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Sub-Identify?expand=0&rev=2
This commit is contained in:
parent
fa43999f0c
commit
f20d99603f
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 11 17:34:39 UTC 2010 - chris@computersalat.de
|
||||
|
||||
- recreated by cpanspec 1.78
|
||||
o fixed deps
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 10 22:03:34 UTC 2009 - chris@computersalat.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Sub-Identify (Version 0.04)
|
||||
#
|
||||
# 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
|
||||
@ -17,36 +17,44 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%bcond_with pod
|
||||
|
||||
Name: perl-Sub-Identify
|
||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||
%define cpan_name Sub-Identify
|
||||
Summary: Retrieve names of code references
|
||||
Version: 0.04
|
||||
Release: 1
|
||||
License: Artistic
|
||||
Release: 2
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
URL: http://search.cpan.org/dist/Sub-Identify
|
||||
Url: http://search.cpan.org/dist/Sub-Identify/
|
||||
#Source: http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/Sub-Identify-0.04.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More)
|
||||
%endif
|
||||
%if %{with pod}
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
Requires: perl = %{perl_version}
|
||||
%endif
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl = %{perl_version}
|
||||
|
||||
%description
|
||||
Sub::Identify allows you to retrieve the real name of code references.
|
||||
For this, it uses perl's introspection mechanism, provided by the
|
||||
B module.
|
||||
|
||||
Author: Rafael Garcia-Suarez <rgarciasuarez at gmail dot com>
|
||||
Authors:
|
||||
--------
|
||||
Rafael Garcia-Suarez <rgarciasuarez at gmail dot com>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%{__sed} -i -e "s/^auto_install;/#auto_install;/g" Makefile.PL
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
%{__make}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
@ -60,8 +68,7 @@ perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes
|
||||
|
||||
%changelog
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user