eseyman pushed to perl-BZ-Client (master). "Use correct upstream URL"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun Apr 19 09:48:27 UTC 2015


>From 2cd4079730e3e18826e4167ba35ecc422c3e4a33 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Sun, 19 Apr 2015 11:48:16 +0200
Subject: Use correct upstream URL


diff --git a/perl-BZ-Client.spec b/perl-BZ-Client.spec
index 245cf16..1288e68 100644
--- a/perl-BZ-Client.spec
+++ b/perl-BZ-Client.spec
@@ -1,11 +1,11 @@
 Name:           perl-BZ-Client
 Version:        1.06
-Release:        1%{?dist}
+Release:        2%{?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/J/JW/JWIED/BZ-Client-%{version}.tar.gz
+Source0:        http://www.cpan.org/authors/id/D/DJ/DJZORT/BZ-Client-%{version}.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
@@ -13,7 +13,7 @@ BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(DateTime)
 BuildRequires:  perl(DateTime::Format::ISO8601)
 BuildRequires:  perl(DateTime::Format::Strptime)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Getopt::Long)
 BuildRequires:  perl(HTTP::Cookies)
@@ -36,16 +36,13 @@ chmod 644 Changes README LICENSE
 %patch1 -p1
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 find $RPM_BUILD_ROOT -type f -name '*.pm' -exec chmod -x {} 2>/dev/null \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -57,6 +54,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Sun Apr 19 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 1.06-2
+- Use correct upstream URL
+
 * Sun Apr 19 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 1.06-1
 - Update to 1.06
 - Drop patch0 (upstreamed)
-- 
cgit v0.10.2


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


More information about the scm-commits mailing list