Author: mmaslano Update of /cvs/pkgs/rpms/perl-Unicode-String/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5928 Modified Files: perl-Unicode-String.spec Log Message: * Wed Feb 17 2010 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 2.09-13 - fix license Index: perl-Unicode-String.spec =================================================================== RCS file: /cvs/pkgs/rpms/perl-Unicode-String/devel/perl-Unicode-String.spec,v retrieving revision 1.19 retrieving revision 1.20 diff -u -p -r1.19 -r1.20 --- perl-Unicode-String.spec 26 Jan 2010 16:34:30 -0000 1.19 +++ perl-Unicode-String.spec 17 Feb 2010 08:12:14 -0000 1.20 @@ -1,16 +1,20 @@ Name: perl-Unicode-String Version: 2.09 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Perl modules to handle various Unicode issues Group: Development/Libraries -License: (GPL+ or Artistic) and (GPLv2+ or Artistic) +# in CharName.pm is mentioned use of Unicode table, but fonts are not used +# so here can't be UCD license +# in String.xs is mentioned "same terms as Perl itself" which is this +License: GPL+ or Artistic URL: http://search.cpan.org/dist/Unicode-String/ Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Unicode-String-2.09.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: perl(ExtUtils::MakeMaker), perl(MIME::Base64) +BuildRequires: %{_bindir}/iconv # not detected by auto provide scripts: Requires: perl(MIME::Base64) @@ -20,7 +24,8 @@ Requires: perl(MIME::Base64) %prep %setup -q -n Unicode-String-%{version} - +iconv -f ISO_8859-1 -t UTF-8 -o README.new README && +mv README.new README %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -30,7 +35,7 @@ make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_ %install rm -rf $RPM_BUILD_ROOT make install \ - PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \ + DESTDIR=$RPM_BUILD_ROOT \ INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib} find $RPM_BUILD_ROOT -type f \( -name perllocal.pod -o -name .packlist \ -o \( -name '*.bs' -empty \) \) -exec rm {} ';' @@ -55,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Feb 17 2010 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 2.09-13 +- fix license + * Tue Jan 26 2010 Stepan Kasal <skasal@xxxxxxxxxx> - 2.09-12 - better buildroot - no need to define perl_vendorarch -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel