diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..b840cc5 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("incorrect-fsf-address /usr/share/licenses/perl-Apache-Session-Browseable/LICENSE"); diff --git a/perl-Apache-Session-Browseable.spec b/perl-Apache-Session-Browseable.spec index 67d1563..7c7ea1c 100644 --- a/perl-Apache-Session-Browseable.spec +++ b/perl-Apache-Session-Browseable.spec @@ -1,12 +1,10 @@ Name: perl-Apache-Session-Browseable -Version: 1.2.4 +Version: 1.2.5 Release: 1%{?dist} Summary: Add index and search methods to Apache::Session -Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Apache-Session-Browseable/ Source0: http://search.cpan.org/CPAN/authors/id/G/GU/GUIMARD/Apache-Session-Browseable-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch # Module Build BuildRequires: coreutils @@ -36,9 +34,7 @@ BuildRequires: perl(JSON) BuildRequires: perl(MIME::Base64) BuildRequires: perl(Net::LDAP) BuildRequires: perl(Net::LDAP::Util) -%if "%{?rhel}" != "5" BuildRequires: perl(Redis) -%endif BuildRequires: perl(Storable) BuildRequires: perl(strict) BuildRequires: perl(vars) @@ -49,11 +45,7 @@ BuildRequires: perl(Test::More) BuildRequires: perl(warnings) # Optional Tests BuildRequires: perl(DBD::mysql) -# Older versions of DBD::SQLite generate warnings: "closing dbh with active statement handles" -# CPAN RT#36651, CPAN RT#40383 -%if "%{?rhel}" != "5" BuildRequires: perl(DBD::SQLite) > 1.19 -%endif # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(MIME::Base64) @@ -72,7 +64,6 @@ perl Build.PL --installdirs=vendor ./Build %install -rm -rf %{buildroot} ./Build install --destdir=%{buildroot} --create_packlist=0 %check @@ -90,21 +81,28 @@ rm -rf %{buildroot} %{_mandir}/man3/Apache::Session::Browseable.3* %{_mandir}/man3/Apache::Session::Browseable::LDAP.3* %{_mandir}/man3/Apache::Session::Browseable::MySQL.3* +%{_mandir}/man3/Apache::Session::Browseable::PgHstore.3* +%{_mandir}/man3/Apache::Session::Browseable::PgJSON.3* +%{_mandir}/man3/Apache::Session::Browseable::Postgres.3* %{_mandir}/man3/Apache::Session::Browseable::SQLite.3* %{_mandir}/man3/Apache::Session::Browseable::Store::LDAP.3* %{_mandir}/man3/Apache::Session::Browseable::Store::SQLite.3* -%if "%{?rhel}" != "5" %{_mandir}/man3/Apache::Session::Browseable::Redis.3* %{_mandir}/man3/Apache::Session::Browseable::Store::Redis.3* -%else -%exclude %{perl_vendorlib}/Apache/Session/Browseable/Redis.pm -%exclude %{perl_vendorlib}/Apache/Session/Browseable/Store/Redis.pm -%exclude %{_mandir}/man3/Apache::Session::Browseable::Redis.3* -%exclude %{_mandir}/man3/Apache::Session::Browseable::Store::Redis.3* -%endif +%{_mandir}/man3/Apache::Session::Serialize::Hstore.3* %{_mandir}/man3/Apache::Session::Serialize::JSON.3* %changelog +* Tue Apr 4 2017 Paul Howarth - 1.2.5-1 +- Update to 1.2.5 + - PostgreSQL "hstore" and "json" support + - Add "deleteIfLowerThan" method +- Drop EL-5 support + - Drop Group: and BuildRoot: tags + - No longer need to clean buildroot in %%install + - Support Redis unconditionally + - Always run DBD::SQLite test + * Sun Feb 19 2017 Paul Howarth - 1.2.4-1 - Update to 1.2.4 - Fix incorrect logic for old database formats (GH#11) diff --git a/sources b/sources index 21d6bca..a3d8f05 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Apache-Session-Browseable-1.2.4.tar.gz) = b23421f6cf7e0a7d51da6ea81919d1ba0c0fb6ffdc0bbe293b4c33d34f35ed5eb71a12da52da329813e248e0da523b7880c20d0999be9498298fc3cb955c3768 +SHA512 (Apache-Session-Browseable-1.2.5.tar.gz) = 5dbaebf23d46ce51460d554ff2243248a60b48ddcdd382ccdbdbbacf10a4164c6ba6e49af284839e909550c22c61b8e3f3300dd2b8ee76fa72812bc5534662fc