Bernhard M. Wiedemann 2017-05-12 08:36:43 +00:00 committed by Git OBS Bridge
parent 6c636ca2af
commit 410398a687
3 changed files with 21 additions and 0 deletions

13
LICENSE Normal file
View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 12 08:36:12 UTC 2017 - Bernhard M. Wiedemann <bwiedemann@suse.com>
- Add LICENSE information
-------------------------------------------------------------------
Tue May 9 04:27:43 UTC 2017 - Bernhard M. Wiedemann <bwiedemann@suse.com>

View File

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