remove BR: perl, use %{_fixperms} macro.
This commit is contained in:
parent
8e2d23c1aa
commit
8e8361e78e
@ -1,6 +1,6 @@
|
||||
Name: perl-DBD-MySQL
|
||||
Version: 4.005
|
||||
Release: 2%{?dist}.1
|
||||
Release: 3%{?dist}
|
||||
Summary: A MySQL interface for perl
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -9,7 +9,6 @@ URL: http://search.cpan.org/dist/DBD-mysql/
|
||||
Source0: http://www.cpan.org/authors/id/C/CA/CAPTTOFU/DBD-mysql-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: perl >= 1:5.6.1
|
||||
BuildRequires: perl(DBI)
|
||||
BuildRequires: mysql, mysql-devel, zlib-devel
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
@ -38,7 +37,7 @@ make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
file=$RPM_BUILD_ROOT%{_mandir}/man3/DBD::mysql.3pm
|
||||
iconv -f iso-8859-1 -t utf-8 < "$file" > "${file}_"
|
||||
@ -64,6 +63,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Oct 23 2007 Robin Norwood <rnorwood@redhat.com> - 4.005-3
|
||||
- Use fixperms macro
|
||||
- Remove BR: perl
|
||||
|
||||
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 4.005-2.1
|
||||
- add BR: perl(ExtUtils::MakeMaker)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user