]> git.pld-linux.org Git - packages/perl-Unicode-String.git/commitdiff
- release 2: rebuild against perl 5.6 and use rpm automation. perl-Unicode-String-2_06-2
authorkloczek <kloczek@pld-linux.org>
Fri, 26 Jan 2001 02:25:43 +0000 (02:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Unicode-String.spec -> 1.9

perl-Unicode-String.spec

index 55e116eee9bc646592eb0c31450ab244ce007434..1dea424ed00015ec8e7c7430aa36cc5d6738e09f 100644 (file)
@@ -3,13 +3,14 @@ Summary:      Unicode-String perl module
 Summary(pl):   Modu³ perla Unicode-String
 Name:          perl-Unicode-String
 Version:       2.06
-Release:       1
+Release:       2
 License:       GPL
 Group:         Development/Languages/Perl
+Group(de):     Entwicklung/Sprachen/Perl
 Group(pl):     Programowanie/Jêzyki/Perl
 Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/Unicode/Unicode-String-%{version}.tar.gz
 BuildRequires: rpm-perlprov >= 3.0.3-16
-BuildRequires: perl >= 5.005_03-14
+BuildRequires: perl >= 5.6
 BuildRequires: perl-MIME-Base64
 %requires_eq   perl
 Requires:      %{perl_sitearch}
@@ -26,36 +27,24 @@ Modu
 
 %build
 perl Makefile.PL
-%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make} OPTIMIZE="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-strip --strip-unneeded $RPM_BUILD_ROOT/%{perl_sitearch}/auto/Unicode/String/*.so
 
-(
-  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Unicode/String
-  sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
-  mv -f .packlist.new .packlist
-)
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
-        Changes README
+gzip -9nf Changes README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {Changes,README}.gz
-
+%doc *.gz
 %{perl_sitearch}/Unicode/CharName.pm
 %{perl_sitearch}/Unicode/String.pm
-
 %dir %{perl_sitearch}/auto/Unicode/String
-%{perl_sitearch}/auto/Unicode/String/.packlist
 %{perl_sitearch}/auto/Unicode/String/String.bs
 %attr(755,root,root) %{perl_sitearch}/auto/Unicode/String/String.so
-
 %{_mandir}/man3/*
This page took 0.211939 seconds and 4 git commands to generate.