forked from pool/perl-File-Copy-Recursive
Accepting request 94660 from home:namtrac:bugfix
- Cleanup spec formatting - Add license boilerplate OBS-URL: https://build.opensuse.org/request/show/94660 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Copy-Recursive?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
f0ddd9bb4f
commit
7210e5530a
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 1 08:44:55 UTC 2011 - idoenmez@suse.de
|
||||||
|
|
||||||
|
- Cleanup spec formatting
|
||||||
|
- Add license boilerplate
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 27 21:58:15 UTC 2010 - pascal.bleser@opensuse.org
|
Mon Dec 27 21:58:15 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
|||||||
@@ -1,44 +1,58 @@
|
|||||||
# vim: set sw=4 ts=4 et nu:
|
#
|
||||||
|
# spec file for package perl-File-Copy-Recursive
|
||||||
|
#
|
||||||
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-File-Copy-Recursive
|
Name: perl-File-Copy-Recursive
|
||||||
Version: 0.38
|
Version: 0.38
|
||||||
Release: 0
|
Release: 0
|
||||||
|
License: GPL-2.0+ or Artistic-1.0
|
||||||
Summary: Recursively copy files
|
Summary: Recursively copy files
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/D/DM/DMUEY/File-Copy-Recursive-%{version}.tar.gz
|
Url: http://search.cpan.org/dist/File-Copy-Recursive
|
||||||
URL: http://search.cpan.org/dist/File-Copy-Recursive
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Perl License
|
Source: http://search.cpan.org/CPAN/authors/id/D/DM/DMUEY/File-Copy-Recursive-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
|
||||||
BuildRequires: perl-macros
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
BuildRequires: perl
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(File::Copy)
|
BuildRequires: perl(File::Copy)
|
||||||
BuildRequires: perl(File::Spec)
|
BuildRequires: perl(File::Spec)
|
||||||
|
BuildRequires: perl-macros
|
||||||
Requires: perl(File::Copy)
|
Requires: perl(File::Copy)
|
||||||
Requires: perl(File::Spec)
|
Requires: perl(File::Spec)
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Perl extension for recursively copying files and directories.
|
Perl extension for recursively copying files and directories.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "File-Copy-Recursive-%{version}"
|
%setup -q -n "File-Copy-Recursive-%{version}"
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
sed -i '/^auto_install/d' Makefile.PL
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
perl Makefile.PL PREFIX="%{_prefix}"
|
||||||
%__make %{?jobs:-j%{jobs}}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%__make test
|
make test
|
||||||
|
|
||||||
%clean
|
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@@ -51,3 +65,4 @@ Perl extension for recursively copying files and directories.
|
|||||||
%{perl_vendorarch}/auto/File/Copy/Recursive
|
%{perl_vendorarch}/auto/File/Copy/Recursive
|
||||||
%doc %{perl_man3dir}/File::Copy::Recursive.%{perl_man3ext}%{ext_man}
|
%doc %{perl_man3dir}/File::Copy::Recursive.%{perl_man3ext}%{ext_man}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user