- regenerate with uptodate cpanspec

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-chdir?expand=0&rev=11
This commit is contained in:
Stephan Kulow 2021-01-20 14:54:03 +00:00 committed by Git OBS Bridge
parent ed7bd20daf
commit 405850843e
2 changed files with 15 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 20 14:53:46 UTC 2021 - Stephan Kulow <coolo@suse.com>
- regenerate with uptodate cpanspec
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 18 22:26:15 UTC 2021 - Dirk Müller <dmueller@suse.com> Mon Jan 18 22:26:15 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -16,22 +16,23 @@
# #
%define cpan_name File-chdir
Name: perl-File-chdir Name: perl-File-chdir
Version: 0.1011 Version: 0.1011
Release: 0 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 License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
URL: https://search.cpan.org/dist/File-chdir/ URL: https://metacpan.org/release/%{cpan_name}
Source0: https://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz 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
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Cwd) >= 3.16 BuildRequires: perl(Cwd) >= 3.16
BuildRequires: perl(File::Spec::Functions) >= 3.27 BuildRequires: perl(File::Spec::Functions) >= 3.27
Requires: perl(Cwd) >= 3.16 Requires: perl(Cwd) >= 3.16
Requires: perl(File::Spec::Functions) >= 3.27 Requires: perl(File::Spec::Functions) >= 3.27
BuildArch: noarch
%{perl_requires} %{perl_requires}
%description %description
@ -43,18 +44,17 @@ use calls 'chdir()', it changes the current working directory for the
This sucks. This sucks.
File::chdir gives you an alternative, '$CWD' and '@CWD'. These two File::chdir gives you an alternative, '$CWD' and '@CWD'. These two
variables combine all the power of 'chdir()', the File::Spec manpage and variables combine all the power of 'chdir()', File::Spec and Cwd.
the Cwd manpage.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%make_build make %{?_smp_mflags}
%check %check
%make_build test make test
%install %install
%perl_make_install %perl_make_install
@ -63,7 +63,7 @@ perl Makefile.PL INSTALLDIRS=vendor
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %defattr(-,root,root,755)
%license LICENSE
%doc Changes CONTRIBUTING.mkdn examples README %doc Changes CONTRIBUTING.mkdn examples README
%license LICENSE
%changelog %changelog