From 405850843ec8f0c21322aa789fae2f35592dc2a873b8cf0680c62c77c91673e0 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 20 Jan 2021 14:54:03 +0000 Subject: [PATCH] - regenerate with uptodate cpanspec OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-chdir?expand=0&rev=11 --- perl-File-chdir.changes | 5 +++++ perl-File-chdir.spec | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/perl-File-chdir.changes b/perl-File-chdir.changes index aee6867..fb21e47 100644 --- a/perl-File-chdir.changes +++ b/perl-File-chdir.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 20 14:53:46 UTC 2021 - Stephan Kulow + +- regenerate with uptodate cpanspec + ------------------------------------------------------------------- Mon Jan 18 22:26:15 UTC 2021 - Dirk Müller diff --git a/perl-File-chdir.spec b/perl-File-chdir.spec index 61c8582..db8f71a 100644 --- a/perl-File-chdir.spec +++ b/perl-File-chdir.spec @@ -16,22 +16,23 @@ # -%define cpan_name File-chdir Name: perl-File-chdir Version: 0.1011 Release: 0 -Summary: More Sensible Way to Change Directories +%define cpan_name File-chdir +Summary: More sensible way to change directories License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -URL: https://search.cpan.org/dist/File-chdir/ -Source0: https://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Cwd) >= 3.16 BuildRequires: perl(File::Spec::Functions) >= 3.27 Requires: perl(Cwd) >= 3.16 Requires: perl(File::Spec::Functions) >= 3.27 -BuildArch: noarch %{perl_requires} %description @@ -43,18 +44,17 @@ use calls 'chdir()', it changes the current working directory for the This sucks. File::chdir gives you an alternative, '$CWD' and '@CWD'. These two -variables combine all the power of 'chdir()', the File::Spec manpage and -the Cwd manpage. +variables combine all the power of 'chdir()', File::Spec and Cwd. %prep %setup -q -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor -%make_build +make %{?_smp_mflags} %check -%make_build test +make test %install %perl_make_install @@ -63,7 +63,7 @@ perl Makefile.PL INSTALLDIRS=vendor %files -f %{name}.files %defattr(-,root,root,755) -%license LICENSE %doc Changes CONTRIBUTING.mkdn examples README +%license LICENSE %changelog