Christian Wittmer 2010-11-11 17:36:06 +00:00 committed by Git OBS Bridge
parent fa43999f0c
commit f20d99603f
2 changed files with 27 additions and 14 deletions

View File

@ -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 Thu Dec 10 22:03:34 UTC 2009 - chris@computersalat.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Sub-Identify (Version 0.04) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,36 +17,44 @@
# norootforbuild # norootforbuild
%bcond_with pod
Name: perl-Sub-Identify Name: perl-Sub-Identify
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) %define cpan_name Sub-Identify
Summary: Retrieve names of code references Summary: Retrieve names of code references
Version: 0.04 Version: 0.04
Release: 1 Release: 2
License: Artistic License: GPL+ or Artistic
Group: Development/Libraries/Perl 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 Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Test::More) %endif
%if %{with pod}
BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(Test::Pod) >= 1.14
Requires: perl = %{perl_version} %endif
BuildRequires: perl(Test::More)
Requires: perl = %{perl_version}
%description %description
Sub::Identify allows you to retrieve the real name of code references. Sub::Identify allows you to retrieve the real name of code references.
For this, it uses perl's introspection mechanism, provided by the For this, it uses perl's introspection mechanism, provided by the
B module. B module.
Author: Rafael Garcia-Suarez <rgarciasuarez at gmail dot com> Authors:
--------
Rafael Garcia-Suarez <rgarciasuarez at gmail dot com>
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%{__sed} -i -e "s/^auto_install;/#auto_install;/g" Makefile.PL
%build %build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%{__make} %{__make} %{?_smp_mflags}
%check %check
%{__make} test %{__make} test
@ -60,8 +68,7 @@ perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root) %defattr(-,root,root,-)
%doc Changes %doc Changes
%changelog %changelog