diff options
author | kloczek | 2000-12-28 01:18:30 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | fda49afe935bb359c470d864c7217ea550da43d0 (patch) | |
tree | 0956d4449a3d9b8a52b2db302bd077a650dc7b93 | |
parent | 8b10b2dec88e028d11d8f1ee31f330c3dd74fb17 (diff) | |
download | perl-CDB_File-fda49afe935bb359c470d864c7217ea550da43d0.zip perl-CDB_File-fda49afe935bb359c470d864c7217ea550da43d0.tar.gz |
- release 2: rebuild against perl 5.6 and use new rpm automation.perl-CDB_File-0_8-2
Changed files:
perl-CDB_File.spec -> 1.9
-rw-r--r-- | perl-CDB_File.spec | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/perl-CDB_File.spec b/perl-CDB_File.spec index 76cf5e9..7c51140 100644 --- a/perl-CDB_File.spec +++ b/perl-CDB_File.spec @@ -3,13 +3,14 @@ Summary: CDB_File perl module Summary(pl): Moduł perla CDB_File Name: perl-CDB_File Version: 0.8 -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/authors/id/TIMPX/CDB_File-%{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,37 +26,25 @@ CDB_File - interfejs do CDB dla perla. %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/CDB_File/*.so -( - cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/CDB_File - 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/* \ - README ACKNOWLEDGE CHANGES +gzip -9nf README ACKNOWLEDGE CHANGES %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc {README,ACKNOWLEDGE,CHANGES}.gz - +%doc *.gz %{perl_sitearch}/CDB_File.pm - %dir %{perl_sitearch}/auto/CDB_File -%{perl_sitearch}/auto/CDB_File/.packlist %{perl_sitearch}/auto/CDB_File/CDB_File.bs %{perl_sitearch}/auto/CDB_File/autosplit.ix %{perl_sitearch}/auto/CDB_File/multi_get.al %attr(755,root,root) %{perl_sitearch}/auto/CDB_File/CDB_File.so - %{_mandir}/man3/* |