Blame pg_activity.spec

9e45c39
%global module_name pgactivity
b3611b5
9e45c39
Name:           pg_activity
9e45c39
Version:        2.2.1
9e45c39
Release:        1%{?dist}
b3611b5
Summary:        Command line tool for PostgreSQL server activity monitoring
b3611b5
b3611b5
License:        PostgreSQL
b3611b5
URL:            https://github.com/dalibo/pg_activity/
b3611b5
Source0:        https://github.com/dalibo/pg_activity/archive/v%{version}.tar.gz
b3611b5
BuildArch:      noarch
b3611b5
b3611b5
BuildRequires:  python3-devel
9e45c39
BuildRequires:  pyproject-rpm-macros
b3611b5
2cbbadb
# for check
2cbbadb
BuildRequires:  pytest
9e45c39
BuildRequires:  python3dist(pytest-postgresql)
2cbbadb
BuildRequires:  python3dist(psycopg2)
9e45c39
BuildRequires:  libpq-devel
9e45c39
BuildRequires:  postgresql-server
2cbbadb
b3611b5
Requires:       python3dist(psycopg2)
b3611b5
b3611b5
%description
b3611b5
Top like application for PostgreSQL server activity monitoring
b3611b5
b3611b5
%prep
b3611b5
%autosetup
9e45c39
9e45c39
%generate_buildrequires
9e45c39
%pyproject_buildrequires -r -x tests
b3611b5
b3611b5
%build
9e45c39
%pyproject_wheel
b3611b5
b3611b5
%install
9e45c39
%pyproject_install
9e45c39
%pyproject_save_files %{module_name}
b3611b5
2cbbadb
%check
9e45c39
%pytest
2cbbadb
9e45c39
%files -n %{name} -f %{pyproject_files}
b3611b5
%license LICENSE.txt
2cbbadb
%doc AUTHORS.md README.md
b3611b5
%{_bindir}/pg_activity
9e45c39
%{_mandir}/man1/%{name}*
b3611b5
b3611b5
%changelog
9e45c39
* Thu Sep 02 2021 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 2.2.1-1
9e45c39
- Version update to 2.2.1
9e45c39
- Adapt to pyproject-rpm-macros
9e45c39
d4f5696
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.5-3
d4f5696
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
d4f5696
edffb03
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.1.5-2
edffb03
- Rebuilt for Python 3.10
edffb03
ea2a639
* Mon Apr 19 2021 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 2.1.5-1
ea2a639
- Version update to 2.1.5
ea2a639
156476e
* Sat Apr 03 2021 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 2.1.4-1
156476e
- Version update to 2.1.4
156476e
78cd515
* Wed Mar 17 2021 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 2.1.3-1
78cd515
- Version update to 2.1.3
78cd515
146813c
* Fri Mar 12 2021 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 2.1.2-1
146813c
- Version update to 2.1.2
146813c
- Fix #1937228 FTBFS with Python-3.10
146813c
1338a93
* Thu Mar 11 2021 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 2.1.1-1
1338a93
- Version update to 2.1.1
1338a93
2cbbadb
* Mon Mar 08 2021 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 2.1.0-1
2cbbadb
- Version update to 2.1.0
2cbbadb
- Add check section
2cbbadb
d3d9e69
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-4
d3d9e69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d3d9e69
6660fee
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-3
6660fee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6660fee
7c99131
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 1.6.0-2
7c99131
- Rebuilt for Python 3.9
7c99131
b3611b5
* Sun May 10 2020 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1.6.0-1
b3611b5
- Initial package.
2cbbadb
- fix autosetup usage and license