eseyman pushed to perl-BZ-Client (master). "Update to 1.07"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun Sep 6 08:52:15 UTC 2015


From f9af0b3fa04330ce7cc0ac9d607718e7e9554bd7 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Sun, 6 Sep 2015 10:52:07 +0200
Subject: Update to 1.07


diff --git a/.gitignore b/.gitignore
index 272ee74..fff4e7c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ BZ-Client-1.03.tar.gz
 /BZ-Client-1.04.tar.gz
 /BZ-Client-1.06.tar.gz
 /BZ-Client-1.061.tar.gz
+/BZ-Client-1.07.tar.gz
diff --git a/perl-BZ-Client.spec b/perl-BZ-Client.spec
index e1e789a..2f63054 100644
--- a/perl-BZ-Client.spec
+++ b/perl-BZ-Client.spec
@@ -1,11 +1,11 @@
 Name:           perl-BZ-Client
-Version:        1.061
-Release:        3%{?dist}
+Version:        1.070
+Release:        1%{?dist}
 Summary:        A client for the Bugzilla web services API
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/BZ-Client/
-Source0:        http://www.cpan.org/authors/id/D/DJ/DJZORT/BZ-Client-%{version}.tar.gz
+Source0:        http://www.cpan.org/authors/id/D/DJ/DJZORT/BZ-Client-1.07.tar.gz
 # Fix test to expect random hash keys, bug #1084032, CPAN RT#94402
 Patch1:         BZ-Client-1.04-Expect-perturbed-structure-members-on-t-11writer.t.patch
 BuildArch:      noarch
@@ -18,10 +18,12 @@ BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Getopt::Long)
 BuildRequires:  perl(HTTP::Cookies)
 BuildRequires:  perl(LWP)
+BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(URI)
 BuildRequires:  perl(XML::Parser)
 BuildRequires:  perl(XML::Writer)
 BuildRequires:  perl(Test)
+BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %{?perl_default_filter}
@@ -30,30 +32,34 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
 This module provides an interface to the Bugzilla web services API.
 
 %prep
-%setup -q -n BZ-Client-%{version}
+%setup -q -n BZ-Client-1.07
 chmod 644 Changes README LICENSE
 
 %patch1 -p1
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
-make %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor
+./Build
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 
-find $RPM_BUILD_ROOT -type f -name '*.pm' -exec chmod -x {} 2>/dev/null \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-make test
+./Build test
 
 %files
-%doc Changes README LICENSE
-%{perl_vendorlib}/BZ
-%{_mandir}/man3/*
+%doc Changes README
+%license LICENSE
+%{perl_vendorlib}/BZ*
+%{_mandir}/man3/BZ*
 
 %changelog
+* Sun Sep 06 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 1.070-1
+- Update to 1.07
+- Use %%license tag
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.061-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index 537e091..d23d0e8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f26e646cfb22d6b890a59f21058f77a6  BZ-Client-1.061.tar.gz
+45392d2c1c6e1e08458488d747abcd92  BZ-Client-1.07.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-BZ-Client.git/commit/?h=master&id=f9af0b3fa04330ce7cc0ac9d607718e7e9554bd7


More information about the perl-devel mailing list