jplesnik pushed to perl-Net-Telnet (master). "3.04 bump; Modernize spec"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Jul 27 06:21:08 UTC 2015
From 9af194f02312b1c714835bfef31843e1ac40dc2b Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Mon, 27 Jul 2015 08:20:52 +0200
Subject: 3.04 bump; Modernize spec
diff --git a/.gitignore b/.gitignore
index 923d122..3fde65b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Net-Telnet-3.03.tar.gz
+/Net-Telnet-3.04.tar.gz
diff --git a/perl-Net-Telnet.spec b/perl-Net-Telnet.spec
index 21799dc..2a790ff 100644
--- a/perl-Net-Telnet.spec
+++ b/perl-Net-Telnet.spec
@@ -1,7 +1,7 @@
Name: perl-Net-Telnet
-Summary: Net-Telnet Perl module
-Version: 3.03
-Release: 24%{?alphatag:.%{alphatag}}%{?dist}
+Summary: Interact with TELNET port or other TCP ports
+Version: 3.04
+Release: 1%{?alphatag:.%{alphatag}}%{?dist}
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Net-Telnet/
@@ -9,14 +9,22 @@ Source0: ftp://ftp.cpan.org/pub/CPAN/authors/id/J/JR/JROGERS/Net-Telnet-%{versio
# runtime depends
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires: perl(Exporter)
Requires: perl(IO::Socket::INET)
-Requires: perl(Socket)
# build
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
+BuildRequires: perl
+BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(FileHandle)
+BuildRequires: perl(IO::Socket::INET)
+BuildRequires: perl(Socket)
+BuildRequires: perl(strict)
+BuildRequires: perl(Symbol)
+BuildRequires: perl(vars)
%description
Net::Telnet allows you to make client connections to a TCP port and do
@@ -26,7 +34,7 @@ interactive features are provided because connecting to a TELNET port
ultimately means communicating with a program designed for human interaction.
These interactive features include the ability to specify a time-out and to
wait for patterns to appear in the input stream, such as the prompt from a
-shell.
+shell. IPv6 support is available when using perl 5.14 or later.
%prep
%setup -q -n Net-Telnet-%{version}
@@ -36,25 +44,23 @@ shell.
make
%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 d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc ChangeLog README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
+* Fri Jul 24 2015 Jitka Plesnikova <jplesnik at redhat.com> - 3.04-1
+- 3.04 bump
+- Modernize spec
+
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.03-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
@@ -121,7 +127,7 @@ Rebuild for new perl
- correct license tag
- add BR: perl(ExtUtils::MakeMaker)
-* Mon Jun 30 2006 Jason Vas Dias <jvdias at redhat.com> - 3.03-5
+* Tue Jun 06 2006 Jason Vas Dias <jvdias at redhat.com> - 3.03-5
- correct License: tag
* Wed Feb 15 2006 Jason Vas Dias <jvdias at redhat.com> - 3.03-4.3
diff --git a/sources b/sources
index 2638d68..99e5885 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2f7d34b09d6117baefe89d44cff9d5fc Net-Telnet-3.03.tar.gz
+d2514080116c1b0fa5f96295c84538e3 Net-Telnet-3.04.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Net-Telnet.git/commit/?h=master&id=9af194f02312b1c714835bfef31843e1ac40dc2b
More information about the perl-devel
mailing list