[perl-HTTP-BrowserDetect] - Update to 1.21. - BR Module::Build and build with that. - Add LICENSE and TODO to docs. - Drop BR
Steven Pritchard
steve at fedoraproject.org
Mon Dec 27 23:30:56 UTC 2010
commit 70de10c2ae5d65ac4390876a2834726f2f8af1ff
Author: Steven Pritchard <steven.pritchard at gmail.com>
Date: Mon Dec 27 17:30:34 2010 -0600
- Update to 1.21.
- BR Module::Build and build with that.
- Add LICENSE and TODO to docs.
- Drop BR for Exporter, FindBin (both core modules), and YAML::Tiny, and
add BR YAML.
.gitignore | 1 +
perl-HTTP-BrowserDetect.spec | 34 ++++++++++++++++++----------------
sources | 2 +-
3 files changed, 20 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 93d242c..258ad9f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
HTTP-BrowserDetect-1.10.tar.gz
+/HTTP-BrowserDetect-1.21.tar.gz
diff --git a/perl-HTTP-BrowserDetect.spec b/perl-HTTP-BrowserDetect.spec
index b779f19..f280f81 100644
--- a/perl-HTTP-BrowserDetect.spec
+++ b/perl-HTTP-BrowserDetect.spec
@@ -1,21 +1,18 @@
Name: perl-HTTP-BrowserDetect
Summary: Determine the Web browser, version, and platform from an HTTP user agent string
-Version: 1.10
-Release: 3%{?dist}
+Version: 1.21
+Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
-Source0: http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/HTTP-BrowserDetect-%{version}.tar.gz
URL: http://search.cpan.org/dist/HTTP-BrowserDetect/
+Source0: http://www.cpan.org/authors/id/O/OA/OALDERS/HTTP-BrowserDetect-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
-
BuildRequires: perl(Data::Dump)
-BuildRequires: perl(Exporter)
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(FindBin)
BuildRequires: perl(Test::More)
-BuildRequires: perl(YAML::Tiny)
+BuildRequires: perl(YAML)
+BuildRequires: perl(Module::Build)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
@@ -30,32 +27,37 @@ at http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html.
%setup -q -n HTTP-BrowserDetect-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor
+./Build
%install
rm -rf $RPM_BUILD_ROOT
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
-make test
+./Build test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc Changes README
+%doc Changes LICENSE README TODO
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Mon Dec 27 2010 Steven Pritchard <steve at kspei.com> 1.21-1
+- Update to 1.21.
+- BR Module::Build and build with that.
+- Add LICENSE and TODO to docs.
+- Drop BR for Exporter, FindBin (both core modules), and YAML::Tiny, and
+ add BR YAML.
+
* Fri Dec 17 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.10-3
- 661697 rebuild for fixing problems with vendorach/lib
diff --git a/sources b/sources
index d6b8735..88209c2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-14e41f8ac87a18146227f078860f923f HTTP-BrowserDetect-1.10.tar.gz
+892afec8e383c46d3da36cad545d86e9 HTTP-BrowserDetect-1.21.tar.gz
More information about the perl-devel
mailing list