[perl-RT-Client-REST] 0.45 bump

Petr Pisar ppisar at fedoraproject.org
Mon Nov 18 13:46:02 UTC 2013


commit 7f825866eb1f6bc7edc6f0ff1bc0a00a85190095
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Nov 18 14:45:27 2013 +0100

    0.45 bump

 .gitignore               |    1 +
 perl-RT-Client-REST.spec |   37 +++++++++++++++++++++++--------------
 sources                  |    2 +-
 3 files changed, 25 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index eefc778..390c159 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 RT-Client-REST-0.37.tar.gz
 /RT-Client-REST-0.43.tar.gz
+/RT-Client-REST-0.45.tar.gz
diff --git a/perl-RT-Client-REST.spec b/perl-RT-Client-REST.spec
index 720b7d0..f24fbb1 100644
--- a/perl-RT-Client-REST.spec
+++ b/perl-RT-Client-REST.spec
@@ -1,42 +1,49 @@
 Name:       perl-RT-Client-REST 
-Version:    0.43 
-Release:    7%{?dist}
+Version:    0.45
+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 
 Url:        http://search.cpan.org/dist/RT-Client-REST
-Source:     http://search.cpan.org/CPAN/authors/id/J/JL/JLMARTIN/RT-Client-REST-%{version}.tar.gz 
+Source:     http://search.cpan.org/CPAN/authors/id/M/ME/MELMOTHX/RT-Client-REST-%{version}.tar.gz 
 BuildArch:  noarch
+BuildRequires:  perl
 BuildRequires:  perl(inc::Module::Install) >= 0.91
+BuildRequires:  perl(strict)
 # Run-time
 BuildRequires:  perl(base)
+BuildRequires:  perl(DateTime)
+BuildRequires:  perl(DateTime::Format::DateParse)
 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)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
 # Tests
 BuildRequires:  perl(constant)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Encode)
+BuildRequires:  perl(File::Spec::Functions)
+BuildRequires:  perl(HTTP::Response)
 BuildRequires:  perl(IO::Socket)
-BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Exception)
+BuildRequires:  perl(Test::More)
 # 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))
+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
-to implement some RT interactions from my application, but did not feel
-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.
+RT::Client::REST is a set of object-oriented Perl modules designed to make
+communicating with RT using REST protocol easy. Most of the features have been
+implemented and tested with rt 3.6.0 and later.
 
 %prep
 %setup -q -n RT-Client-REST-%{version}
@@ -49,24 +56,26 @@ done
 rm -r inc
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
 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
 
 %files
-%doc examples CHANGES README TODO
+%doc CHANGES examples README TODO
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Mon Nov 18 2013 Petr Pisar <ppisar at redhat.com> - 0.45-1
+- 0.45 bump
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.43-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 4541155..e6896b5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d6c4a47ba1c8f3cdc2ee6eb84754a62c  RT-Client-REST-0.43.tar.gz
+ccb7b603a2680643da6ecd64d7718456  RT-Client-REST-0.45.tar.gz


More information about the scm-commits mailing list