diff --git a/.cvsignore b/.cvsignore index e69de29..779ef90 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Set-Object-1.26.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..a77f656 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Set-Object-1_26-3_fc10:HEAD:perl-Set-Object-1.26-3.fc10.src.rpm:1229376772 diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..a86ca08 --- /dev/null +++ b/license.txt @@ -0,0 +1,71 @@ +Set-Object used to be licensed under the Perl Artistic license, and +the documentation still says so (I expect it being updated with the +next upstream release). Due to the artistic license not being +accepted as free license by the FSF I've asked the authors whenever +they agree to relicense the package and fortunaly they did, so the +package now carries the same license as perl itself (which is the +choice between Artistic and GPL). + +See also: + http://dev.perl.org/licenses/ + https://fedoraproject.org/wiki/Licensing + https://bugzilla.redhat.com/show_bug.cgi?id=467175 + +The relevant messages from the authors (Jean-Louis Leroy and Sam +Vilain) are listed below. + +------------------------------------------------------------------------- + +From: "jl" +To: Gerd Hoffmann +Subject: Re: Set-Object license question +Date: Sat, 08 Nov 2008 08:51:51 +0100 + +Hello Gerd. + +I agree to relicense Set::Object under the same terms as (current) Perl +itself - which is probably the choice between two licenses: Artistic 2.0 and +GPL. + +Cordially, +Jean-Louis + +------------------------------------------------------------------------- + +Subject: Re: Set-Object license question +From: Sam Vilain +To: Gerd Hoffmann +Date: Fri, 24 Oct 2008 00:33:23 +1300 + +On Wed, 2008-10-22 at 11:58 +0200, Gerd Hoffmann wrote: +> Sam Vilain wrote: +> > AFAIK the original author has not responded to requests for relicensing +> > under GPLv2. +> +> You are refering to Jean-Louis Leroy I guess? + +That's right, of Sound Object Logic. + +> > Could get a notary public to serve them notice of the intention to +> > relicense Set::Object as GPL under the requirements of the license for +> > Tangram. If they don't make claim, then it should be able to be +> > relicensed, I'd guess. +> +> I think I'll better try again asking by email first. +> +> Given you apparently tried already to get it re-licenced I assume you +> are fine with GPL, right? +> +> What about "Catalyst IT (NZ) Limited" listed in the man-page? Given you +> are still listed as maintainer @ CPAN I assume this is the company you +> are working for? + +Yes, I can speak for that copyright holder, and they are happy to +license under any FSF-approved Free Software license, including the Perl +Artistic/GPL disjunction. + +Contact Jean-Louis - if nothing comes back I might have to investigate a +rewrite. + +Cheers, +Sam. diff --git a/perl-Set-Object-fix-assert.patch b/perl-Set-Object-fix-assert.patch new file mode 100644 index 0000000..18a7b2d --- /dev/null +++ b/perl-Set-Object-fix-assert.patch @@ -0,0 +1,12 @@ +diff -up Set-Object-1.26/Object.xs~ Set-Object-1.26/Object.xs +--- Set-Object-1.26/Object.xs~ 2008-10-12 23:06:28.000000000 +0200 ++++ Set-Object-1.26/Object.xs 2008-11-11 12:20:03.000000000 +0100 +@@ -342,7 +342,7 @@ _dispel_magic(ISET* s, SV* sv) { + I32 i = AvFILLp(wand); + int c = 0; + +- assert( SvTYPE(want) == SVt_PVAV ); ++ assert( SvTYPE(wand) == SVt_PVAV ); + + while (i >= 0) { + if (svp[i] && SvIV(svp[i])) { diff --git a/perl-Set-Object.spec b/perl-Set-Object.spec new file mode 100644 index 0000000..4f15e44 --- /dev/null +++ b/perl-Set-Object.spec @@ -0,0 +1,90 @@ +Name: perl-Set-Object +Version: 1.26 +Release: 3%{?dist} +License: GPL+ or Artistic +Summary: Set of objects and strings +Group: Development/Libraries +URL: http://search.cpan.org/dist/Set-Object/ +Source0: http://www.cpan.org/modules/by-module/Set/Set-Object-%{version}.tar.gz +Source1: license.txt +Patch0: perl-Set-Object-fix-assert.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) perl(Test::Pod) perl(Test::Pod::Coverage) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This modules implements a set of objects, that is, an unordered +collection of objects without duplication. + +The term *objects* is applied loosely - for the sake of Set::Object, +anything that is a reference is considered an object. + +%prep +%setup -q -n Set-Object-%{version} +%patch0 -p1 +cp %{SOURCE1} . + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +make pure_install PERL_INSTALL_ROOT=%{buildroot} + +# clean up buildroot +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' +%{_fixperms} %{buildroot} + +%check +make test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-, root, root, -) +%doc Changes.pod META.yml README license.txt +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Set* +%{_mandir}/man3/*.3* + +%changelog +* Tue Dec 9 2008 - Gerd Hoffmann - 1.26-3 +- add test suite support. +- simplify files section. +- pick up some bits from cpanspec-generated specfile. + +* Thu Nov 27 2008 - Gerd Hoffmann - 1.26-2 +- include text file documenting the relicensing. + +* Tue Nov 11 2008 - Gerd Hoffmann - 1.26-1 +- update to version 1.26 + +* Tue Nov 11 2008 - Gerd Hoffmann - 1.25-3 +- update license tag. + +* Wed Oct 15 2008 - Gerd Hoffmann - 1.25-2 +- add dist tag to release. +- fix rpmlint errors and warnings. + +* Wed Aug 13 2008 - Patrick Steiner - 1.25-1 +- update to 1.25 + +* Wed Aug 13 2008 - Patrick Steiner - 1.22-2 +- Upadted to Fedora 9 + +* Sun Nov 18 2007 Dag Wieers - 1.22-1 +- Updated to release 1.22. + +* Mon Sep 18 2006 Dries Verachtert - 1.18-1 +- Updated to release 1.18. + +* Sat Nov 5 2005 Dries Verachtert - 1.14-1 +- Updated to release 1.14. + +* Sat Apr 9 2005 Dries Verachtert - 1.10-1 +- Initial package. diff --git a/sources b/sources index e69de29..764314f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3fbeb4768a20958354ea2e0d7f723a77 Set-Object-1.26.tar.gz