8
0

Accepting request 178323 from home:coolo:update-perl

update

OBS-URL: https://build.opensuse.org/request/show/178323
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Probe-Perl?expand=0&rev=14
This commit is contained in:
Stephan Kulow
2013-06-10 11:11:57 +00:00
committed by Git OBS Bridge
parent 95959c0307
commit d688469f69
4 changed files with 30 additions and 29 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Probe-Perl (Version 0.01)
# spec file for package perl-Probe-Perl
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 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
@@ -15,54 +15,45 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Probe-Perl
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Version: 0.02
Release: 0
%define cpan_name Probe-Perl
Summary: Information about the currently running perl
Version: 0.01
Release: 7
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Probe-Perl/
Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Probe-Perl-%{version}.tar.gz
Source: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test)
BuildRequires: perl-macros
#
#
Provides: %{cpan_name}
#BuildRequires: perl(Probe::Perl)
%{perl_requires}
%description
This module provides methods for obtaining information about the currently
running perl interpreter. It originally began life as code in the
Module::Build project, but has been externalized here for general use.
'Module::Build' project, but has been externalized here for general use.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Build.PL installdirs=vendor
./Build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
./Build test
%{__make} test
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes README SIGNATURE
%defattr(-,root,root,755)
%doc Changes LICENSE README
%changelog