Remove strange macros.
This commit is contained in:
parent
14b9d5f5d5
commit
a1a1c81a34
@ -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,-)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user