>From 04cea62814ee5614a03de4b58a651abb6f316114 Mon Sep 17 00:00:00 2001
From: Lionel Cons <lionel.c...@cern.ch>
Date: Mon, 14 Dec 2015 09:54:16 +0100
Subject: update to upstream, rhbz #1291167

---
 sources       |  2 +-
 stompclt.spec | 36 +++++++++++++++++++-----------------
 2 files changed, 20 insertions(+), 18 deletions(-)

diff --git a/sources b/sources
index b96d806..33efbfa 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1f10e240da2b229550b0a0de20f08960  stompclt-1.4.tar.gz
+6e5f046dbea788d09761e5df4a6bb554  stompclt-1.4.tar.gz
diff --git a/stompclt.spec b/stompclt.spec
index bb20896..db52b11 100644
--- a/stompclt.spec
+++ b/stompclt.spec
@@ -1,12 +1,12 @@
-Summary:       Versatile STOMP client
 Name:          stompclt
-Version:       1.3
-Release:       3%{?dist}
-URL:           http://cern.ch/lionel.cons/perl/%{name}/
+Version:       1.4
+Release:       1%{?dist}
+Summary:       Versatile STOMP client
 License:       GPL+ or Artistic
 Group:         Development/Libraries
-Source0:       
http://cern.ch/lionel.cons/perl/%{name}/%{name}-%{version}.tar.gz
-BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
+URL:           https://github.com/cern-mig/%{name}
+Source0:       
https://github.com/cern-mig/%{name}/archive/%{name}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:     noarch
 BuildRequires: perl
 BuildRequires: perl(ExtUtils::MakeMaker)
@@ -14,7 +14,6 @@ Requires:     perl(:MODULE_COMPAT_%(eval "`%{__perl} 
-V:version`"; echo $version))
 Requires:      perl(Net::STOMP::Client) >= 2.0
 # the following one is in theory optional but really nice to have everywhere
 Requires:      perl(Directory::Queue)
-# the other required Perl modules will be found by rpmbuild
 
 %description
 stompclt is a versatile tool to interact with messaging brokers speaking
@@ -26,29 +25,32 @@ them to an outgoing module. Depending on which modules are 
used, the tool
 can perform different operations.
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q -n %{name}-%{name}-%{version}
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make}
+make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -fv {} \;
-find %{buildroot} -depth -type d -empty -exec rmdir -v {} \;
-%{_fixperms} %{buildroot}/*
+rm -fr $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 -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
 
 %clean
-rm -rf %{buildroot}
+rm -fr $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
 %doc Changes README
-%{_bindir}/%{name}
-%{_mandir}/man1/%{name}.1.*
+%{_bindir}/*
+%{_mandir}/man1/*
 
 %changelog
+* Mon Dec 14 2015 Lionel Cons <lionel.c...@cern.ch> 1.4-1
+- Update to upstream, rhbz #1291167.
+
 * Fri Jun 19 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 1.3-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/stompclt.git/commit/?h=epel7&id=04cea62814ee5614a03de4b58a651abb6f316114
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to