[perl-HTTP-BrowserDetect] 1.76 bump
Petr Šabata
psabata at fedoraproject.org
Fri Mar 20 12:07:34 UTC 2015
commit 6235652d73931bac207b0901c5e151aaed8c9723
Author: Petr Šabata <contyk at redhat.com>
Date: Fri Mar 20 13:07:32 2015 +0100
1.76 bump
perl-HTTP-BrowserDetect.spec | 26 ++++++++++++++------------
sources | 2 +-
2 files changed, 15 insertions(+), 13 deletions(-)
---
diff --git a/perl-HTTP-BrowserDetect.spec b/perl-HTTP-BrowserDetect.spec
index 19c0720..ee82664 100644
--- a/perl-HTTP-BrowserDetect.spec
+++ b/perl-HTTP-BrowserDetect.spec
@@ -1,28 +1,27 @@
Name: perl-HTTP-BrowserDetect
Summary: Determine the Web browser, version, and platform from an HTTP user agent string
-Version: 1.75
+Version: 1.78
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/HTTP-BrowserDetect/
Source0: http://www.cpan.org/authors/id/O/OA/OALDERS/HTTP-BrowserDetect-%{version}.tar.gz
BuildArch: noarch
-# Module Build
+# Build
BuildRequires: perl(Module::Build) >= 0.28
-# Module Runtime
BuildRequires: perl(strict)
-BuildRequires: perl(vars)
BuildRequires: perl(warnings)
-# Test Suite
+# Runtime
+BuildRequires: perl(vars)
+# Tests only
BuildRequires: perl(FindBin)
BuildRequires: perl(JSON::PP)
BuildRequires: perl(Path::Tiny)
BuildRequires: perl(Test::FailWarnings)
-BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::Most)
BuildRequires: perl(Test::NoWarnings)
-# Runtime
-Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
The HTTP::BrowserDetect object does a number of tests on an HTTP user agent
@@ -33,7 +32,6 @@ at http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html.
%prep
%setup -q -n HTTP-BrowserDetect-%{version}
-
# Remove spurious exec permission
chmod -c -x lib/HTTP/BrowserDetect.pm
@@ -42,18 +40,22 @@ perl Build.PL installdirs=vendor
./Build
%install
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-%{_fixperms} $RPM_BUILD_ROOT
+./Build install destdir=%{buildroot} create_packlist=0
+%{_fixperms} %{buildroot}
%check
./Build test
%files
-%doc Changes CONTRIBUTORS LICENSE README TODO
+%license LICENSE
+%doc Changes CONTRIBUTORS README TODO
%{perl_vendorlib}/HTTP/
%{_mandir}/man3/HTTP::BrowserDetect.3pm*
%changelog
+* Fri Mar 20 2015 Petr Šabata <contyk at redhat.com> - 1.78-1
+- 1.76 bump
+
* Wed Nov 26 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.75-1
- 1.75 bump
diff --git a/sources b/sources
index 49daefe..6686c7d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-45fd35ca9ebb99b9c8fe39569978c776 HTTP-BrowserDetect-1.75.tar.gz
+28e6f80b1169b4b0bb796265df915179 HTTP-BrowserDetect-1.78.tar.gz
More information about the perl-devel
mailing list