From ffe9f9066b0520c74df89f127ca5633c1ba9f4555555d16ad14f766b30390722 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Thu, 1 Apr 2010 17:02:06 +0000 Subject: [PATCH] 1.006000 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-local-lib?expand=0&rev=3 --- local-lib-1.005001.tar.gz | 3 --- local-lib-1.006000.tar.gz | 3 +++ perl-local-lib.changes | 7 +++++++ perl-local-lib.spec | 17 ++++++++++++++--- 4 files changed, 24 insertions(+), 6 deletions(-) delete mode 100644 local-lib-1.005001.tar.gz create mode 100644 local-lib-1.006000.tar.gz diff --git a/local-lib-1.005001.tar.gz b/local-lib-1.005001.tar.gz deleted file mode 100644 index 1e53fba..0000000 --- a/local-lib-1.005001.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b020bf2e76a030631f58d1f89c96e97b1b3d1a3fa11b64ff0fe5c0d268ce33f7 -size 35281 diff --git a/local-lib-1.006000.tar.gz b/local-lib-1.006000.tar.gz new file mode 100644 index 0000000..2899031 --- /dev/null +++ b/local-lib-1.006000.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:abd6e24d2dc5187379a8f57c4b82f1e98b2edd1c78c8d26ee2fc9b8409627c03 +size 36674 diff --git a/perl-local-lib.changes b/perl-local-lib.changes index 3fae760..13be5a2 100644 --- a/perl-local-lib.changes +++ b/perl-local-lib.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Apr 1 05:49:02 UTC 2010 - pascal.bleser@opensuse.org + +- update to 1.006000: + * create lib::core::only that provides the "set @INC to core dirs only" functionality that was the only part of --self-contained that ever worked usefully + * delete broken --self-contained flag from core + ------------------------------------------------------------------- Sun Mar 14 02:15:00 UTC 2010 - pascal.bleser@opensuse.org diff --git a/perl-local-lib.spec b/perl-local-lib.spec index b0c92ce..b95f1f7 100644 --- a/perl-local-lib.spec +++ b/perl-local-lib.spec @@ -1,17 +1,16 @@ # norootforbuild Name: perl-local-lib -Version: 1.005001 +Version: 1.006000 Release: 0 Summary: Create and Use a local Library Directory for Perl Modules -Source: http://search.cpan.org/CPAN/authors/id/A/AP/APEIRON/local-lib-%{version}.tar.gz +Source: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/lib/local-lib-%{version}.tar.gz Source1: perl-homedir.sh Source2: perl-homedir.csh URL: http://search.cpan.org/dist/local-lib/ Group: Development/Libraries/Perl License: Perl License BuildRoot: %{_tmppath}/build-%{name}-%{version} -Requires: perl BuildRequires: make perl BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(CPAN) >= 1.80 @@ -20,6 +19,11 @@ BuildRequires: perl(ExtUtils::ParseXS) BuildRequires: perl(Module::Build) >= 0.28 BuildRequires: perl(Test::More) BuildRequires: perl(ExtUtils::Install) >= 1.43 +%if 0%{?suse_version} >= 1030 +Requires: perl-base = %{perl_version} +%else +Requires: perl +%endif Requires: perl(CPAN) >= 1.80 Requires: perl(ExtUtils::CBuilder) Requires: perl(ExtUtils::Install) >= 1.43 @@ -69,10 +73,12 @@ install this package. %setup -q -n "local-lib-%{version}" %build +unset PERL_MM_OPT %__perl Makefile.PL INSTALLDIRS=vendor PREFIX="%{_prefix}" %__make %{?jobs:-j%{jobs}} %install +unset PERL_MM_OPT %perl_make_install %perl_process_packlist @@ -80,6 +86,7 @@ install this package. %__install -m0644 "%{SOURCE1}" "%{SOURCE2}" "%{buildroot}%{_sysconfdir}/profile.d/" %check +unset PERL_MM_OPT %__make test %clean @@ -88,10 +95,14 @@ install this package. %files %defattr(-,root,root) %doc Changes +%dir %{perl_vendorlib}/lib +%dir %{perl_vendorlib}/lib/core +%{perl_vendorlib}/lib/core/only.pm %dir %{perl_vendorlib}/local/ %{perl_vendorlib}/local/lib.pm %dir %{perl_vendorarch}/auto/local %{perl_vendorarch}/auto/local/lib +%doc %{perl_man3dir}/lib::core::only.%{perl_man3ext}%{ext_man} %doc %{perl_man3dir}/local::lib.%{perl_man3ext}%{ext_man} /var/adm/perl-modules/%{name}