From 410398a687fffab8ec7c59f563ee8c3d27c8d0da78b67c9facfed469d1803b46 Mon Sep 17 00:00:00 2001 From: Bernhard Wiedemann Date: Fri, 12 May 2017 08:36:43 +0000 Subject: [PATCH] Add LICENSE information OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Archive-Cpio?expand=0&rev=3 --- LICENSE | 13 +++++++++++++ perl-Archive-Cpio.changes | 5 +++++ perl-Archive-Cpio.spec | 3 +++ 3 files changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b24d7fa --- /dev/null +++ b/LICENSE @@ -0,0 +1,13 @@ +In https://rt.cpan.org/Public/Bug/Display.html?id=43597 +the autor clarified the license of this software, +though he did not add this information to the package itself yet: + +On Wed Feb 25 04:08:03 2009, RSRCHBOY wrote: +> I'm looking to package Archive::Cpio for Fedora, but I can't seem to +> find the license for this package. +> +> Did you intend to license this package "under the same terms as Perl +> itself", that is, GPL v1+ and the Artistic License? (or maybe the LGPL +> v2+...? :)) + +yeah, same as Perl. I'll try to add a mention of it in next release. thanks diff --git a/perl-Archive-Cpio.changes b/perl-Archive-Cpio.changes index 76920cd..629fbaf 100644 --- a/perl-Archive-Cpio.changes +++ b/perl-Archive-Cpio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 12 08:36:12 UTC 2017 - Bernhard M. Wiedemann + +- Add LICENSE information + ------------------------------------------------------------------- Tue May 9 04:27:43 UTC 2017 - Bernhard M. Wiedemann diff --git a/perl-Archive-Cpio.spec b/perl-Archive-Cpio.spec index a235a94..3efc2f5 100644 --- a/perl-Archive-Cpio.spec +++ b/perl-Archive-Cpio.spec @@ -26,6 +26,7 @@ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Archive-Cpio/ Source0: http://www.cpan.org/authors/id/P/PI/PIXEL/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml +Source2: LICENSE BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -37,6 +38,7 @@ Archive::Cpio provides a few functions to read and write cpio files. %prep %setup -q -n %{cpan_name}-%{version} +cp -a %{SOURCE2} . %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -53,5 +55,6 @@ Archive::Cpio provides a few functions to read and write cpio files. %files -f %{name}.files %defattr(-,root,root,755) %doc Changes +%license LICENSE %changelog