]> git.pld-linux.org Git - packages/perl-File-Sync.git/commitdiff
- release 2: rebuild agaunst perl 5.6 and use rpm automation. perl-File-Sync-0_09-2
authorkloczek <kloczek@pld-linux.org>
Thu, 4 Jan 2001 00:17:53 +0000 (00:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-File-Sync.spec -> 1.8

perl-File-Sync.spec

index 531262825373a9ba0de2f8e5a10e8fbc1163f4cd..52cb5a3a131ebf30a4553497f27ae01ac71fb792 100644 (file)
@@ -3,13 +3,14 @@ Summary:      File-Sync perl module
 Summary(pl):   Modu³ perla File-Sync
 Name:          perl-File-Sync
 Version:       0.09
-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/File/File-Sync-%{version}.tar.gz
 BuildRequires: rpm-perlprov >= 3.0.3-16
-BuildRequires: perl >= 5.005_03-14
+BuildRequires: perl >= 5.6
 %requires_eq   perl
 Requires:      %{perl_sitearch}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -25,36 +26,24 @@ File-Sync - umo
 
 %build
 perl Makefile.PL
-%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make} OPTIMIZE="%{?debug:-O -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/File/Sync/*.so
 
-(
-  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/File/Sync
-  sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
-  mv .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}/File/Sync.pm
-
 %dir %{perl_sitearch}/auto/File/Sync
-%{perl_sitearch}/auto/File/Sync/.packlist
 %{perl_sitearch}/auto/File/Sync/autosplit.ix
 %{perl_sitearch}/auto/File/Sync/Sync.bs
 %attr(755,root,root) %{perl_sitearch}/auto/File/Sync/Sync.so
-
 %{_mandir}/man3/*
This page took 0.065885 seconds and 4 git commands to generate.