forked from pool/python-peewee
Compare commits
19 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d0be81d580 | |||
| 974a519769 | |||
| c93e7c9663 | |||
| 75f59e59e4 | |||
| 7d2810c72b | |||
| b6e82f6a0b | |||
| 2cf1f91a18 | |||
| 29451ff0a6 | |||
| d4126198d4 | |||
| d31c333775 | |||
| 8e17bddc9e | |||
| de8052922c | |||
| 1916d39f1a | |||
| 868c430edb | |||
| 694380c467 | |||
| b0e11b5b05 | |||
| 5b86e92f72 | |||
| ddf90e64fe | |||
| 9e46d3e376 |
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 17 13:56:57 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Rename pwiz.py in /usr/bin to pwiz to avoid PYTHONPATH confusion
|
||||||
|
(bsc#1245790)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 21 15:33:41 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
Thu Aug 21 15:33:41 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-peewee
|
# spec file for package python-peewee
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -64,7 +64,8 @@ An expressive ORM that supports PostgreSQL, MySQL and SQLite.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/pwiz.py
|
mv %{buildroot}%{_bindir}/pwiz.py %{buildroot}%{_bindir}/pwiz
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/pwiz
|
||||||
%{python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%{python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
# Remove shebang from non-executable files
|
# Remove shebang from non-executable files
|
||||||
@@ -75,10 +76,11 @@ sed -i -e '1{\@^#! *%{_bindir}.*python@d}' %{buildroot}%{$python_sitearch}/pwiz.
|
|||||||
%pytest_arch tests
|
%pytest_arch tests
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative pwiz.py
|
%python_install_alternative pwiz
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative pwiz.py
|
%python_uninstall_alternative pwiz.py
|
||||||
|
%python_uninstall_alternative pwiz
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%python_libalternatives_reset_alternative pwiz.py
|
%python_libalternatives_reset_alternative pwiz.py
|
||||||
@@ -86,7 +88,7 @@ sed -i -e '1{\@^#! *%{_bindir}.*python@d}' %{buildroot}%{$python_sitearch}/pwiz.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGELOG.md README.rst TODO.rst
|
%doc CHANGELOG.md README.rst TODO.rst
|
||||||
%python_alternative %{_bindir}/pwiz.py
|
%python_alternative %{_bindir}/pwiz
|
||||||
%{python_sitearch}/peewee-%{version}.dist-info
|
%{python_sitearch}/peewee-%{version}.dist-info
|
||||||
%{python_sitearch}/peewee.py
|
%{python_sitearch}/peewee.py
|
||||||
%{python_sitearch}/pwiz.py
|
%{python_sitearch}/pwiz.py
|
||||||
|
|||||||
Reference in New Issue
Block a user