From a1a1c81a34614c0f9fc88e6cd384a3cb1bb331f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Fri, 15 Jan 2010 12:39:36 +0000 Subject: [PATCH] Remove strange macros. --- perl-IO-stringy.spec | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/perl-IO-stringy.spec b/perl-IO-stringy.spec index 04e5bfa..a7922aa 100644 --- a/perl-IO-stringy.spec +++ b/perl-IO-stringy.spec @@ -17,23 +17,24 @@ filehandles; in particular, IO::Scalar, IO::ScalarArray, and IO::Lines. %prep %setup -q -n IO-stringy-%{version} +chmod 644 examples/IO_Scalar_synopsis %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install -%{__rm} -rf %{buildroot} -%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot} -/usr/bin/find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -/usr/bin/find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' -%{__chmod} -R u+w %{buildroot}/* +rm -rf %{buildroot} +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +%{_fixperms} -R u+w %{buildroot}/* %check -%{__make} test +make test %clean -%{__rm} -rf %{buildroot} +rm -rf %{buildroot} %files %defattr(-,root,root,-)