[perl-Sys-Hostname-Long] Update to 1.5
Paul Howarth
pghmcfc at fedoraproject.org
Tue Jan 13 14:03:45 UTC 2015
commit 8b8fb7b4b865085b6056803b21e9ecfaacd1ce57
Author: Paul Howarth <paul at city-fan.org>
Date: Tue Jan 13 14:03:31 2015 +0000
Update to 1.5
- New upstream release 1.5
- Improvements by Michiel Bejen
- Classify buildreqs by usage
- General spec clean-up
.gitignore | 2 +-
perl-Sys-Hostname-Long.spec | 54 +++++++++++++++++++++++++++---------------
sources | 2 +-
3 files changed, 37 insertions(+), 21 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 571acca..d26c82b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Sys-Hostname-Long-1.4.tar.gz
+/Sys-Hostname-Long-[0-9.]*.tar.gz
diff --git a/perl-Sys-Hostname-Long.spec b/perl-Sys-Hostname-Long.spec
index b64477f..5c72e8c 100644
--- a/perl-Sys-Hostname-Long.spec
+++ b/perl-Sys-Hostname-Long.spec
@@ -1,15 +1,30 @@
Name: perl-Sys-Hostname-Long
-Version: 1.4
-Release: 13%{?dist}
+Version: 1.5
+Release: 1%{?dist}
Summary: Try every conceivable way to get full hostname
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Sys-Hostname-Long/
Source0: http://www.cpan.org/authors/id/S/SC/SCOTT/Sys-Hostname-Long-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
+# Module Build
+BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Module Runtime
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(IO::Socket)
+BuildRequires: perl(POSIX)
+BuildRequires: perl(strict)
+BuildRequires: perl(Sys::Hostname)
+BuildRequires: perl(vars)
+# Test Suite
+BuildRequires: perl(lib)
+BuildRequires: perl(Test)
+# Runtime
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(IO::Socket)
%description
How to get the host full name in perl on multiple operating systems (mac,
@@ -19,32 +34,33 @@ windows, unix* etc)
%setup -q -n Sys-Hostname-Long-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$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/*
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} %{buildroot}
%check
make test
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%files
-%defattr(-,root,root,-)
%doc Changes README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/Sys/
+%{_mandir}/man3/Sys::Hostname::Long.3*
%changelog
+* Tue Jan 13 2015 Paul Howarth <paul at city-fan.org> - 1.5-1
+- Update to 1.5
+ - Improvements by Michiel Bejen
+- Classify buildreqs by usage
+- General spec clean-up
+
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.4-13
- Perl 5.20 rebuild
@@ -76,10 +92,10 @@ rm -rf $RPM_BUILD_ROOT
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Dec 22 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.4-3
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
* Thu May 06 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.4-2
- Mass rebuild with perl-5.12.0
* Thu Jan 14 2010 Iain Arnell 1.4-1
-- Specfile autogenerated by cpanspec 1.78.
+- Specfile autogenerated by cpanspec 1.78
diff --git a/sources b/sources
index 377a299..9501905 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a5b3c23754cbcff10e283d16c42ec3d3 Sys-Hostname-Long-1.4.tar.gz
+a7d7a36fa6905bded4f6b7da94e37532 Sys-Hostname-Long-1.5.tar.gz
More information about the scm-commits
mailing list