Update dependencies. Clean up spec.
This commit is contained in:
parent
0de9328bb9
commit
87acd8eb81
@ -1,7 +1,7 @@
|
|||||||
Name: perl-XML-SAX-Base
|
Name: perl-XML-SAX-Base
|
||||||
Version: 1.08
|
Version: 1.08
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Base class SAX Drivers and Filters
|
Summary: Base class SAX drivers and filters
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/XML-SAX-Base/
|
URL: http://search.cpan.org/dist/XML-SAX-Base/
|
||||||
@ -11,10 +11,8 @@ BuildRequires: perl(base)
|
|||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(Test)
|
BuildRequires: perl(Test)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
BuildRequires: perl(Test::Pod) >= 1.41
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
||||||
Requires: perl(File::Spec)
|
|
||||||
Conflicts: perl-XML-SAX < 0.99-1
|
Conflicts: perl-XML-SAX < 0.99-1
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -27,14 +25,13 @@ you don't have to, for example, implement the characters() callback.
|
|||||||
%setup -q -n XML-SAX-Base-%{version}
|
%setup -q -n XML-SAX-Base-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
||||||
|
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
@ -45,11 +42,18 @@ mv $RPM_BUILD_ROOT/%{perl_vendorlib}/XML/SAX/BuildSAXBase.pl $RPM_BUILD_ROOT/%{_
|
|||||||
make test
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changes dist.ini META.json README BuildSAXBase.pl
|
%doc Changes META.json README BuildSAXBase.pl
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 22 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.08-6
|
||||||
|
- Update dependencies
|
||||||
|
- Replace PERL_INSTALL_ROOT with DESTDIR
|
||||||
|
- Update description and summary
|
||||||
|
- Remove deleting empty directories
|
||||||
|
- Remove dist.ini from %%doc
|
||||||
|
|
||||||
* Mon Aug 27 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.08-5
|
* Mon Aug 27 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.08-5
|
||||||
- Specify all dependencies.
|
- Specify all dependencies.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user