[perl-Net-Stomp] apply Jose Pedro Oliviera's patch: - Updated to 0.42 - Examples included as documentation files -

Marcela Mašláňová mmaslano at fedoraproject.org
Thu Oct 20 08:21:31 UTC 2011


commit 391494e372b24b5dddba8e16c019a9f5da2bcecc
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Thu Oct 20 10:21:14 2011 +0200

    apply Jose Pedro Oliviera's patch:
    -  Updated to 0.42
    -  Examples included as documentation files
    -  Source URL updated (different maintainer)

 .gitignore          |    1 +
 perl-Net-Stomp.spec |   16 ++++++++++++----
 sources             |    2 +-
 3 files changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2939f88..89f4bf9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Net-Stomp-0.36.tar.gz
+/Net-Stomp-0.42.tar.gz
diff --git a/perl-Net-Stomp.spec b/perl-Net-Stomp.spec
index 996bed1..f8b21b8 100644
--- a/perl-Net-Stomp.spec
+++ b/perl-Net-Stomp.spec
@@ -1,11 +1,11 @@
 Name:           perl-Net-Stomp
-Version:        0.36
-Release:        4%{?dist}
+Version:        0.42
+Release:        1%{?dist}
 Summary:        Stomp client module for Perl
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Net-Stomp/
-Source0:        http://www.cpan.org/authors/id/L/LB/LBROCARD/Net-Stomp-%{version}.tar.gz
+Source0:        http://search.cpan.org/CPAN/authors/id/A/AS/ASH/Net-Stomp-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Class::Accessor::Fast)
@@ -28,6 +28,8 @@ enterprise-level Java Message Service 1.1 (JMS) message broker.
 %prep
 %setup -q -n Net-Stomp-%{version}
 
+# Perl interpreter path
+%{__sed} -i -e 's~^#!perl~#!%{__perl}~' examples/*.pl
 
 %build
 %{__perl} Build.PL installdirs=vendor
@@ -53,12 +55,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc CHANGES
+%doc CHANGES examples/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 
 %changelog
+* Thu Oct 20 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.42-1
+- apply Jose Pedro Oliviera's patch:
+-  Updated to 0.42
+-  Examples included as documentation files
+-  Source URL updated (different maintainer)
+
 * Tue Jun 21 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.36-4
 - Perl mass rebuild
 
diff --git a/sources b/sources
index f4cbfff..8b043d0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dd62162fec7c26876312ff70600a4bf1  Net-Stomp-0.36.tar.gz
+2259ea26248379f76554a926194a9bee  Net-Stomp-0.42.tar.gz


More information about the scm-commits mailing list