fix macros to work with new macros
clean spec
This commit is contained in:
parent
12cfebe00d
commit
2e50dc03fa
@ -1,7 +1,7 @@
|
||||
Summary: XML-SAX Perl module
|
||||
Name: perl-XML-SAX
|
||||
Version: 0.96
|
||||
Release: 13%{?dist}
|
||||
Release: 14%{?dist}
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
@ -18,12 +18,9 @@ BuildRequires: perl(XML::LibXML) perl(XML::LibXML::Common)
|
||||
Requires: perl(:MODULE_COMPAT_%(perl -MConfig -e 'print $Config{version}'))
|
||||
Requires: perl(XML::LibXML) perl(XML::LibXML::Common)
|
||||
|
||||
%{?filter_setup:
|
||||
%filter_from_requires /^perl(XML::SAX::PurePerl::\(DTDDecls\|DocType\|EncodingDetect\|XMLDecl\))/d
|
||||
%filter_from_provides /^perl(XML::SAX::PurePerl)/d
|
||||
%?perl_default_filter
|
||||
}
|
||||
|
||||
%{?perl_default_filter}
|
||||
%global __provides_exclude %{?__provides_exclude}|perl\\(XML::SAX::PurePerl\\)
|
||||
%global __requires_exclude %{?__requires_exclude}|perl\\(XML::SAX::PurePerl::DTDDecls\\)|perl\\(XML::SAX::PurePerl::DocType\\)|perl\\(XML::SAX::PurePerl::EncodingDetect\\)|perl\\(XML::SAX::PurePerl::XMLDecl\))|perl\\(XML::SAX::PurePerl::NoUnicodeExt\\)|perl\\(XML::SAX::PurePerl::Reader::NoUnicodeExt\\)|perl\\(XML::SAX::PurePerl::UnicodeExt\\)|perl\\(XML::SAX::PurePerl::XMLDecl\\)
|
||||
|
||||
%description
|
||||
XML::SAX consists of several framework classes for using and building
|
||||
@ -43,7 +40,6 @@ echo N | %{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
@ -54,9 +50,6 @@ touch $RPM_BUILD_ROOT%{perl_vendorlib}/XML/SAX/ParserDetails.ini
|
||||
%check
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post
|
||||
if [ ! -f "%{perl_vendorlib}/XML/SAX/ParserDetails.ini" ] ; then
|
||||
@ -81,7 +74,6 @@ fi
|
||||
rm -rf "%{perl_vendorlib}/XML/SAX/ParserDetails.ini.backup" || :
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README
|
||||
%dir %{perl_vendorlib}/XML
|
||||
%{perl_vendorlib}/XML/SAX.pm
|
||||
@ -95,6 +87,10 @@ rm -rf "%{perl_vendorlib}/XML/SAX/ParserDetails.ini.backup" || :
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jun 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.96-14
|
||||
- fix macros to work with new macros
|
||||
- clean spec
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.96-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user