[perl-WWW-Bugzilla] Update to 1.5, clean up spec file and add perl default filter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit ffdde92e5a383eac12e66a5557935e970efbf252
Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx>
Date:   Tue May 8 12:07:58 2012 +0200

    Update to 1.5, clean up spec file and add perl default filter

 .gitignore             |    1 +
 perl-WWW-Bugzilla.spec |   25 +++++++++++++++----------
 sources                |    2 +-
 3 files changed, 17 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ee77671..73c3653 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 WWW-Bugzilla-0.9.tar.gz
+/WWW-Bugzilla-1.5.tar.gz
diff --git a/perl-WWW-Bugzilla.spec b/perl-WWW-Bugzilla.spec
index d68a2d8..ada759d 100644
--- a/perl-WWW-Bugzilla.spec
+++ b/perl-WWW-Bugzilla.spec
@@ -5,23 +5,26 @@
 #
 
 Name:           perl-WWW-Bugzilla
-Version:        0.9
-Release:        10%{?dist}
+Version:        1.5
+Release:        1%{?dist}
 Summary:        Handles submission/update of bugzilla bugs via WWW::Mechanize
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/WWW-Bugzilla/
 Source0:        http://www.cpan.org/authors/id/B/BM/BMC/WWW-Bugzilla-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  perl(Class::MethodMaker) >= 1.08
 BuildRequires:  perl(WWW::Mechanize) >= 1.22
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Crypt::SSLeay)
+BuildRequires:  perl(Params::Validate)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       perl(Class::MethodMaker) >= 1.08
 
+%{?perl_default_filter}
+
 %description
 This module provides a perl API for adding and updating Bugzilla bugs.
 It can be useful in writing custom frontends to a Bugzilla server, and
@@ -31,6 +34,8 @@ can reach it via HTTP.
 
 %prep
 %setup -q -n WWW-Bugzilla-%{version}
+mkdir lib
+cp -r WWW lib
 
 
 %build
@@ -39,9 +44,9 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
@@ -50,18 +55,18 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 %{?_with_testsuite:make test}
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc ARTISTIC Changes GPL README
 %{perl_vendorlib}/WWW/
 %{_mandir}/man3/*.3pm*
 
 
 %changelog
+* Tue May 08 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 1.5-1
+- Update to 1.5
+- Clean up spec file
+- Add perl default filter
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.9-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index a9112bb..d455a1b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c30ee4a725bad258994683060c760b3a  WWW-Bugzilla-0.9.tar.gz
+b910258928296503eb7d0d55b89fc501  WWW-Bugzilla-1.5.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



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux