[perl-Net-XMPP] Specfile cleanup
xavierb
xavierb at fedoraproject.org
Wed Sep 3 18:25:31 UTC 2014
commit 32eb65c0cbc81bd0565e6a88c4f9bff73b79d121
Author: Xavier Bachelot <xavier at bachelot.org>
Date: Wed Sep 3 20:25:12 2014 +0200
Specfile cleanup
perl-Net-XMPP.spec | 16 ++++++----------
1 files changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/perl-Net-XMPP.spec b/perl-Net-XMPP.spec
index 9454db3..d96b87c 100644
--- a/perl-Net-XMPP.spec
+++ b/perl-Net-XMPP.spec
@@ -1,18 +1,18 @@
Name: perl-Net-XMPP
Version: 1.02
-Release: 20%{?dist}
+Release: 21%{?dist}
Summary: Net::XMPP - perl XMPP library
Group: Development/Libraries
License: (GPL+ or Artistic) or LGPLv2+
URL: http://search.cpan.org/dist/Net-XMPP/
Source0: http://search.cpan.org/CPAN/modules/by-module/Net/Net-XMPP-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::More)
-BuildRequires: perl(XML::Stream), perl(Digest::SHA1)
+BuildRequires: perl(XML::Stream)
+BuildRequires: perl(Digest::SHA1)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -34,8 +34,6 @@ For more information about XMPP visit:
%install
-rm -rf %{buildroot}
-
./Build install destdir=%{buildroot} create_packlist=0
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
@@ -49,18 +47,16 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
./Build test
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%doc README CHANGES examples/ LICENSE.*
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
+* Wed Sep 03 2014 Xavier Bachelot <xavier at bachelot.org> - 1.02-21
+- Specfile cleanup.
+
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.02-20
- Perl 5.20 rebuild
More information about the perl-devel
mailing list