]> git.pld-linux.org Git - packages/perl-Unicode-Map.git/commitdiff
- release 2: rebuild against perl 5.6 and use rpm automation. perl-Unicode-Map-0_110-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-Map.spec -> 1.10

perl-Unicode-Map.spec

index a40a997a1076fa210871bae2459a3c90305aa84b..4832df5d91aa8c55370b0ec55885140e346a8b2d 100644 (file)
@@ -3,13 +3,14 @@ Summary:      Perl Unicode-Map module
 Summary(pl):   Modu³ Perla Unicode-Map
 Name:          perl-Unicode-Map
 Version:       0.110
-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-Map-%{version}.tar.gz
 BuildRequires: rpm-perlprov >= 3.0.3-16
-BuildRequires: perl >= 5.005_03-14
+BuildRequires: perl >= 5.6
 BuildRequires: perl-Startup
 %requires_eq   perl
 Requires:      %{perl_sitearch}
@@ -27,38 +28,25 @@ odwrotnie.
 
 %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/Map/*.so
-
-(
-  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Unicode/Map/
-  sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
-  mv -f .packlist.new .packlist
-)
-
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man[13]/* \
-       README Changes
+gzip -9nf README Changes
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files 
 %defattr(644,root,root,755)
-%doc {README,Changes}.gz
+%doc *.gz
 %attr(755,root,root) %{_bindir}/*
-
 %{perl_sitearch}/Unicode/Map
 %{perl_sitearch}/Unicode/Map.pm
-
 %dir %{perl_sitearch}/auto/Unicode/Map
 %{perl_sitearch}/auto/Unicode/Map/Map.bs
-%{perl_sitearch}/auto/Unicode/Map/.packlist
 %attr(755,root,root) %{perl_sitearch}/auto/Unicode/Map/Map.so
-
 %{_mandir}/man[13]/*
This page took 0.119104 seconds and 4 git commands to generate.