forked from pool/perl-Probe-Perl
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:
committed by
Git OBS Bridge
parent
95959c0307
commit
d688469f69
@@ -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
3
Probe-Perl-0.02.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:28042f4d3783c9feaf30df5d3754f3b2eba14746c34bf56283e1232d60dddb0e
|
||||
size 12666
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user