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:
Vítězslav Čížek 2011-12-01 10:26:54 +00:00 committed by Git OBS Bridge
parent f0ddd9bb4f
commit 7210e5530a
2 changed files with 36 additions and 15 deletions

View File

@ -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

View File

@ -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
Version: 0.38
Release: 0
License: GPL-2.0+ or Artistic-1.0
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
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
Source: http://search.cpan.org/CPAN/authors/id/D/DM/DMUEY/File-Copy-Recursive-%{version}.tar.gz
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Spec)
BuildRequires: perl-macros
Requires: perl(File::Copy)
Requires: perl(File::Spec)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%description
Perl extension for recursively copying files and directories.
%prep
%setup -q -n "File-Copy-Recursive-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
sed -i '/^auto_install/d' Makefile.PL
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}
perl Makefile.PL PREFIX="%{_prefix}"
make %{?_smp_mflags}
%install
%perl_make_install
%perl_process_packlist
%check
%__make test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
make test
%files
%defattr(-,root,root)
@ -51,3 +65,4 @@ Perl extension for recursively copying files and directories.
%{perl_vendorarch}/auto/File/Copy/Recursive
%doc %{perl_man3dir}/File::Copy::Recursive.%{perl_man3ext}%{ext_man}
%changelog