- 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:
parent
ed7bd20daf
commit
405850843e
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user