14
0
2023-01-31 11:01:12 +00:00
committed by Git OBS Bridge
parent bb6e333482
commit b277a0d0f9
3 changed files with 6 additions and 4 deletions

View File

@@ -22,9 +22,10 @@ Release: 0
Summary: Fetch location and size of physical screens
License: MIT
URL: https://github.com/rr-/screeninfo
Source0: https://github.com/rr-/screeninfo/archive/%{version}.tar.gz#/screeninfo-%{version}.tar.gz
Source0: https://github.com/rr-/screeninfo/archive/refs/tags/%{version}.tar.gz#/screeninfo-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -51,7 +52,7 @@ Python module to fetch location and size of physical screens.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# tests are not included in the PyPI tarball
%pytest tests
%files %{python_files}
%license LICENSE.md