| |
@@ -1,7 +1,7 @@
|
| |
%global srcname tmuxp
|
| |
|
| |
Name: python-%{srcname}
|
| |
- Version: 1.10.1
|
| |
+ Version: 1.11.1
|
| |
Release: %autorelease
|
| |
Summary: Tmux session manager
|
| |
|
| |
@@ -18,7 +18,7 @@
|
| |
Summary: %{summary}
|
| |
%{?python_provide:%python_provide python3-%{srcname}}
|
| |
BuildRequires: python3-devel
|
| |
- BuildRequires: pyproject-rpm-macros
|
| |
+ BuildRequires: python3dist(pytest)
|
| |
|
| |
%description -n python3-%{srcname}
|
| |
%{summary}.
|
| |
@@ -34,13 +34,16 @@
|
| |
|
| |
%install
|
| |
%pyproject_install
|
| |
+ %pyproject_save_files tmuxp
|
| |
|
| |
- %files -n python3-%{srcname}
|
| |
+ %check
|
| |
+ %pyproject_check_import
|
| |
+ %pytest
|
| |
+
|
| |
+ %files -n python3-%{srcname} -f %{pyproject_files}
|
| |
%license LICENSE
|
| |
%doc README.md CHANGES examples
|
| |
%{_bindir}/tmuxp
|
| |
- %{python3_sitelib}/%{srcname}-*.dist-info/
|
| |
- %{python3_sitelib}/%{srcname}/
|
| |
|
| |
%changelog
|
| |
%autochangelog
|
| |
Signed-off-by: Major Hayden major@redhat.com