forked from pool/python-xpybutil
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a73ecabc9a | |||
| adaf327be2 |
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 6 04:21:18 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- No more greedy globs in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 21 09:35:45 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
Wed Feb 21 09:35:45 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-xpybutil
|
# spec file for package python-xpybutil
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-xpybutil
|
Name: python-xpybutil
|
||||||
Version: 0.0.6
|
Version: 0.0.6
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -27,7 +26,9 @@ URL: https://github.com/BurntSushi/xpybutil
|
|||||||
Source: https://github.com/BurntSushi/xpybutil/archive/%{version}.tar.gz
|
Source: https://github.com/BurntSushi/xpybutil/archive/%{version}.tar.gz
|
||||||
Patch0: python-xpybutil-0.0.5-remove-selftest.patch
|
Patch0: python-xpybutil-0.0.5-remove-selftest.patch
|
||||||
BuildRequires: %{python_module base}
|
BuildRequires: %{python_module base}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: %{python_module xcffib}
|
BuildRequires: %{python_module xcffib}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -42,15 +43,16 @@ xpybutil is an abstraction over the X Python Binding (xpyb). It exists because x
|
|||||||
%autosetup -p1 -n xpybutil-%{version}
|
%autosetup -p1 -n xpybutil-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/xpybutil
|
||||||
|
%{python_sitelib}/xpybutil-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user