Remove strange macros.

This commit is contained in:
Marcela Mašláňová 2010-01-15 12:39:36 +00:00
parent 14b9d5f5d5
commit a1a1c81a34

View File

@ -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,-)