commit 9c3f324a4050500081725c89b903f4f17cd31571 Author: Petr Písař ppisar@redhat.com Date: Thu Nov 1 10:42:35 2012 +0100
Modernize spec file
perl-SQL-Statement.spec | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) --- diff --git a/perl-SQL-Statement.spec b/perl-SQL-Statement.spec index 59f54fc..943dea8 100644 --- a/perl-SQL-Statement.spec +++ b/perl-SQL-Statement.spec @@ -52,8 +52,8 @@ other features.
%prep %setup -q -n SQL-Statement-%{version} -find -type f -perm /111 | xargs chmod -c a-x -perl -pi -e 's/\r\n/\n/' README +find -type f -exec chmod a-x {} + +sed -i -e 's/\r//' README
%build export SQL_STATEMENT_WARN_UPDATE=sure @@ -61,9 +61,8 @@ perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags}
%install -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w %{buildroot}/*
%check
perl-devel@lists.fedoraproject.org