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,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b7d211139e42b2a2952c9a4b9f55ac12705e256f4a0acd4ac6ff665aeaddd87
size 5383

3
Probe-Perl-0.02.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:28042f4d3783c9feaf30df5d3754f3b2eba14746c34bf56283e1232d60dddb0e
size 12666

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Jun 10 10:45:48 UTC 2013 - coolo@suse.com
- updated to 0.02
- Switched to Git and Dist::Zilla
- Fixed an issue with perls installed in directories containing
spaces or other special shell characters. [Spotted by Samuel
Ferencik - RT #84643]
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 30 19:20:40 UTC 2010 - coolo@novell.com Tue Nov 30 19:20:40 UTC 2010 - coolo@novell.com

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 # 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
@@ -15,54 +15,45 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: perl-Probe-Perl 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 Summary: Information about the currently running perl
Version: 0.01 License: Artistic-1.0 or GPL-1.0+
Release: 7 Group: Development/Libraries/Perl
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries
Url: http://search.cpan.org/dist/Probe-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 BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test)
BuildRequires: perl-macros BuildRequires: perl-macros
# #BuildRequires: perl(Probe::Perl)
# %{perl_requires}
Provides: %{cpan_name}
%description %description
This module provides methods for obtaining information about the currently This module provides methods for obtaining information about the currently
running perl interpreter. It originally began life as code in the 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 %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
%{__perl} Build.PL installdirs=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
./Build %{__make} %{?_smp_mflags}
%check %check
./Build test %{__make} test
%install %install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist %perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,-) %defattr(-,root,root,755)
%doc Changes README SIGNATURE %doc Changes LICENSE README
%changelog %changelog