|
|
|
@ -1,13 +1,11 @@
|
|
|
|
|
Name: perl-XML-Writer
|
|
|
|
|
Version: 0.624
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.625
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A simple Perl module for writing XML documents
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: CC0
|
|
|
|
|
URL: http://search.cpan.org/dist/XML-Writer/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
@ -38,34 +36,32 @@ checking on the output, to make certain (for example) that start and
|
|
|
|
|
end tags match, that there is exactly one document element, and that
|
|
|
|
|
there are not duplicate attribute names.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n XML-Writer-%{version}
|
|
|
|
|
find examples -type f -exec chmod -x {} +
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -a \( -name .packlist \
|
|
|
|
|
-o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes README TODO LICENSE examples
|
|
|
|
|
%doc Changes examples LICENSE README TODO
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jun 09 2014 Petr Pisar <ppisar@redhat.com> - 0.625-1
|
|
|
|
|
- 0.625 bump
|
|
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.624-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|