diff --git a/pg_activity.spec b/pg_activity.spec index 12fbbd0..5cbe36e 100644 --- a/pg_activity.spec +++ b/pg_activity.spec @@ -1,7 +1,7 @@ %global module_name pgactivity Name: pg_activity -Version: 2.3.1 +Version: 3.4.2 Release: %autorelease Summary: Command line tool for PostgreSQL server activity monitoring @@ -15,13 +15,14 @@ BuildRequires: pyproject-rpm-macros # for check BuildRequires: glibc-langpack-fr +BuildRequires: glibc-langpack-zh BuildRequires: libpq-devel BuildRequires: postgresql-server BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-postgresql) -BuildRequires: python3dist(psycopg2) +BuildRequires: python3dist(psycopg) -Requires: python3dist(psycopg2) +Requires: python3dist(psycopg) %description Top like application for PostgreSQL server activity monitoring @@ -39,8 +40,10 @@ Top like application for PostgreSQL server activity monitoring %pyproject_install %pyproject_save_files %{module_name} +install -Dpm 0644 docs/man/pg_activity.1 %{buildroot}%{_mandir}/man1/pg_activity.1 + %check -%pytest +PY_IGNORE_IMPORTMISMATCH=1 %pytest %files -n %{name} -f %{pyproject_files} %license LICENSE.txt diff --git a/sources b/sources index d8bc7d5..812f470 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v2.3.1.tar.gz) = 26c29ec1701cd2eead8314d2a4df247557164231c53323fb3bed12fbf346e14247addfa508af94cee685a2f0084a26c26118896c4c3395e41fb0eee4a4da2d27 +SHA512 (v3.4.2.tar.gz) = adcc12277341c60a8959103c30d38bdc76d2315130f1bb92239e5c2c8d20f8fc4a786be3fe1f97e3c142e6c74303a631017e1a3e6feaf18266b7fd42c2e155f3