fix specfile issues.

This commit is contained in:
Robin Norwood 2007-10-24 21:15:44 +00:00
parent 8e8361e78e
commit 06c04f3f83

View File

@ -1,6 +1,6 @@
Name: perl-DBD-MySQL Name: perl-DBD-MySQL
Version: 4.005 Version: 4.005
Release: 3%{?dist} Release: 4%{?dist}
Summary: A MySQL interface for perl Summary: A MySQL interface for perl
Group: Development/Libraries Group: Development/Libraries
@ -25,7 +25,6 @@ An implementation of DBI for MySQL for Perl.
find . -type f -exec chmod -x {} ';' find . -type f -exec chmod -x {} ';'
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" --ssl %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" --ssl
make %{?_smp_mflags} make %{?_smp_mflags}
@ -39,9 +38,11 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
file=$RPM_BUILD_ROOT%{_mandir}/man3/DBD::mysql.3pm for file in $RPM_BUILD_ROOT%{_mandir}/man3/DBD::mysql.3pm \
iconv -f iso-8859-1 -t utf-8 < "$file" > "${file}_" ChangeLog; do
mv -f "${file}_" "$file" iconv -f iso-8859-1 -t utf-8 < "$file" > "${file}_"
mv -f "${file}_" "$file"
done
%check %check
@ -63,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Wed Oct 24 2007 Robin Norwood <rnorwood@redhat.com> - 4.005-4
- Fix utf-8 rpmlint warning
* Tue Oct 23 2007 Robin Norwood <rnorwood@redhat.com> - 4.005-3 * Tue Oct 23 2007 Robin Norwood <rnorwood@redhat.com> - 4.005-3
- Use fixperms macro - Use fixperms macro
- Remove BR: perl - Remove BR: perl