commit 8ecace5df87cdecf4779b965dc155f2a378b6bba Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Feb 2 14:25:04 2012 +0100 0.43 bump .gitignore | 1 + .rpmlint | 2 + perl-RT-Client-REST.spec | 71 ++++++++++++++++++++++++---------------------- sources | 2 +- 4 files changed, 41 insertions(+), 35 deletions(-) --- diff --git a/.gitignore b/.gitignore index d644427..eefc778 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ RT-Client-REST-0.37.tar.gz +/RT-Client-REST-0.43.tar.gz diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..95e7d12 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error .* usr"); diff --git a/perl-RT-Client-REST.spec b/perl-RT-Client-REST.spec index 077dbde..3ce3c25 100644 --- a/perl-RT-Client-REST.spec +++ b/perl-RT-Client-REST.spec @@ -1,72 +1,75 @@ Name: perl-RT-Client-REST -Version: 0.37 -Release: 9%{?dist} +Version: 0.43 +Release: 1%{?dist} # lib/RT/Client/REST.pm -> GPLv2 # see also /usr/bin/rt from the rt3 package License: GPLv2 Group: Development/Libraries Summary: Talk to RT using REST protocol -Source: http://search.cpan.org/CPAN/authors/id/D/DM/DMITRI/RT-Client-REST-%{version}.tar.gz Url: http://search.cpan.org/dist/RT-Client-REST -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Source: http://search.cpan.org/CPAN/authors/id/J/JL/JLMARTIN/RT-Client-REST-%{version}.tar.gz BuildArch: noarch - -BuildRequires: perl(Encode) -BuildRequires: perl(Error) -BuildRequires: perl(Exception::Class) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(HTTP::Cookies) -BuildRequires: perl(HTTP::Request::Common) -BuildRequires: perl(LWP) -BuildRequires: perl(Params::Validate) -# testing -BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Exception) -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Pod::Coverage) -BuildRequires: perl(Test::Kwalitee) +BuildRequires: perl(inc::Module::Install) >= 0.91 +# Run-time +BuildRequires: perl(base) +BuildRequires: perl(Error) +BuildRequires: perl(Exception::Class) +BuildRequires: perl(Exporter) +BuildRequires: perl(HTTP::Cookies) +BuildRequires: perl(HTTP::Request::Common) +#BuildRequires: perl(LWP::Simple) +BuildRequires: perl(LWP::UserAgent) +BuildRequires: perl(Params::Validate) +# Tests +BuildRequires: perl(constant) +BuildRequires: perl(IO::Socket) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Exception) +# Optional tests +BuildRequires: perl(Test::Kwalitee) +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) >= 1.00 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description -*RT::Client::REST* is */usr/bin/rt* converted to a Perl module. I needed +RT::Client::REST is /usr/bin/rt converted to a Perl module. I needed to implement some RT interactions from my application, but did not feel -that invoking a shell command is appropriate. Thus, I took *rt* tool, +that invoking a shell command is appropriate. Thus, I took rt tool, written by Abhijit Menon-Sen, and converted it to an object-oriented Perl module. - %prep %setup -q -n RT-Client-REST-%{version} - -cat Changes | iconv -f iso8859-1 -t utf8 > x -mv x Changes +for F in CHANGES; do + iconv -f iso8859-1 -t utf-8 < "$F" > "${F}.new" + touch -r "$F" "${F}.new" + mv "${F}.new" "$F" +done +# Remove bundled Module::Install +rm -r inc %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -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} %{buildroot}/* %check make test -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) -%doc README Changes examples/ +%doc examples CHANGES README TODO %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Thu Feb 02 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 0.43-1 +- 0.43 bump + * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.37-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index 13de1ac..4541155 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -383bf572afdb8040641d4d413ef96476 RT-Client-REST-0.37.tar.gz +d6c4a47ba1c8f3cdc2ee6eb84754a62c RT-Client-REST-0.43.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel