From a8be2cafc3e11e55119105c76d8a2b89102c9550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Tue, 6 Oct 2015 13:58:38 +0200 Subject: [PATCH] 2.000017 bump - Drop the hard CPAN dependency from perl-homedir --- .gitignore | 1 + perl-local-lib.spec | 24 +++++++++++++++--------- sources | 2 +- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 02052ea..e0865c0 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ local-lib-1.004009.tar.gz /local-lib-1.008010.tar.gz /local-lib-2.000014.tar.gz /local-lib-2.000015.tar.gz +/local-lib-2.000017.tar.gz diff --git a/perl-local-lib.spec b/perl-local-lib.spec index 45e6b1b..4ccc361 100644 --- a/perl-local-lib.spec +++ b/perl-local-lib.spec @@ -1,6 +1,6 @@ Name: perl-local-lib -Version: 2.000015 -Release: 4%{?dist} +Version: 2.000017 +Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries Summary: Create and use a local lib/ for perl modules @@ -10,6 +10,8 @@ Source10: perl-homedir.sh Source11: perl-homedir.csh BuildArch: noarch # Build +BuildRequires: coreutils +BuildRequires: make BuildRequires: perl BuildRequires: perl(CPAN) BuildRequires: perl(CPAN::HandleConfig) @@ -30,11 +32,12 @@ BuildRequires: perl(Cwd) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Exporter) BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(File::Temp) BuildRequires: perl(IPC::Open3) BuildRequires: perl(lib) -BuildRequires: perl(Test::More) >= 0.81 -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(Carp) Requires: perl(Carp::Heavy) Requires: perl(File::Basename) @@ -61,8 +64,7 @@ License: GPL+ or Artistic Group: Development/Libraries Summary: Per-user Perl local::lib setup Requires: %{name} = %{version}-%{release} -Requires: %{_bindir}/cpan -Requires: /bin/sed +Requires: sed %description -n perl-homedir perl-homedir configures the system to automatically create a ~/perl5 @@ -84,8 +86,8 @@ make %{?_smp_mflags} make pure_install DESTDIR=%{buildroot} %{_fixperms} %{buildroot}/* mkdir -p %{buildroot}%{_sysconfdir}/profile.d -cp %{SOURCE10} %{buildroot}%{_sysconfdir}/profile.d/ -cp %{SOURCE11} %{buildroot}%{_sysconfdir}/profile.d/ +install -pm0644 %{SOURCE10} %{buildroot}%{_sysconfdir}/profile.d/ +install -pm0644 %{SOURCE11} %{buildroot}%{_sysconfdir}/profile.d/ %check make test @@ -93,12 +95,16 @@ make test %files %doc Changes %{perl_vendorlib}/* -%{_mandir}/man3/*.3* +%{_mandir}/man3/* %files -n perl-homedir %{_sysconfdir}/profile.d/* %changelog +* Tue Oct 06 2015 Petr Ĺ abata - 2.000017-1 +- 2.000017 bump +- Drop the hard CPAN dependency from perl-homedir + * Thu Jun 18 2015 Fedora Release Engineering - 2.000015-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 6cb2e47..553c4ef 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e5b0b8577f58ae7945357991660674e2 local-lib-2.000015.tar.gz +1249c2c68d3bc5667cfb7e11a2a16862 local-lib-2.000017.tar.gz