From f6efb74567d210b58a234038263486447ebae3c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu(a)fedoraproject.org>
Date: Fri, 1 May 2015 07:58:52 +0200
Subject: Upstream update.
- Reflect upstream having dropped bundling modules.
- Reflect upstream having re-added LICENCE.
- Reflect upstream having switched to Module::Build.
diff --git a/.gitignore b/.gitignore
index 2ba2233..e4c28b2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Server-Starter-0.25.tar.gz
+/Server-Starter-0.27.tar.gz
diff --git a/perl-Server-Starter.spec b/perl-Server-Starter.spec
index 7ad89af..06b6c1f 100644
--- a/perl-Server-Starter.spec
+++ b/perl-Server-Starter.spec
@@ -1,5 +1,5 @@
Name: perl-Server-Starter
-Version: 0.25
+Version: 0.27
Release: 1%{?dist}
Summary: Superdaemon for hot-deploying server programs
License: GPL+ or Artistic
@@ -10,12 +10,15 @@ BuildArch: noarch
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
-BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(Fcntl)
+BuildRequires: perl(File::Basename)
+BuildRequires: perl(File::Spec)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IO::Socket::UNIX)
+BuildRequires: perl(Module::Build)
BuildRequires: perl(POSIX)
+BuildRequires: perl(Pod::Usage)
BuildRequires: perl(Socket)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
@@ -23,7 +26,7 @@ BuildRequires: perl(warnings)
# For the tests
BuildRequires: perl(IO::Socket::IP)
BuildRequires: perl(Net::EmptyPort)
-BuildRequires: perl(Test::TCP) >= 2.00
+BuildRequires: perl(Test::TCP) >= 2.08
BuildRequires: perl(Test::Requires)
BuildRequires: perl(Test::SharedFork)
@@ -48,22 +51,13 @@ perl-Server-Starter's start_server script.
%prep
%setup -q -n Server-Starter-%{version}
-# Remove bundled modules
-for f in inc/Test/TCP.pm inc/IO/Socket/IP.pm inc/Net/EmptyPort.pm \
- inc/Test/SharedFork.pm; do
- pat=$(echo "$f" | sed 's,/,\\/,g;s,\.,\\.,g')
- rm $f
- sed -i -e "/$pat/d" MANIFEST
-done
%build
-# --skipdeps causes ExtUtils::AutoInstall not to try auto-installing
-# missing modules
-%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
-make %{?_smp_mflags}
+%{__perl} Build.PL --installdirs=vendor
+./Build
%install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
@@ -71,10 +65,11 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
-make test
+./Build test
%files
-%doc Changes README
+%doc Changes README.md
+%license LICENSE
%{perl_vendorlib}/*
%{_mandir}/man3/*
@@ -83,6 +78,12 @@ make test
%{_mandir}/man1/start_server.*
%changelog
+* Fri May 01 2015 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 0.27-1
+- Upstream update.
+- Reflect upstream having dropped bundling modules.
+- Reflect upstream having re-added LICENCE.
+- Reflect upstream having switched to Module::Build.
+
* Tue Apr 07 2015 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 0.25-1
- Upstream update.
- Rework spec.
diff --git a/sources b/sources
index 628286e..c84207a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0b94ee58578d4f5a7a7b97b0a98c90c2 Server-Starter-0.25.tar.gz
+3330f699ec30546bf105bb61c05b4105 Server-Starter-0.27.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Server-Starter.git/commit/?h=mast...