SHA256
5
0
forked from pool/pybugz

- Update to 0.14:

* Add --interactive command line switch for username and password prompts
  * add support for searching for addresses in CC field
  * Use mimetype of encoding if there is one
  * utils: use builtin way to get terminal width
  * change build system to flit
  * fix output of UTF-8 characters in limited locales
  * fix multiple warnings
  * remove unused readline import
- Switch to pyproject macros.
- Specify module directories explicitly.

OBS-URL: https://build.opensuse.org/package/show/utilities/pybugz?expand=0&rev=12
This commit is contained in:
2025-06-06 08:08:20 +00:00
committed by Git OBS Bridge
parent 0f2f177e4f
commit 35bacbd4af
4 changed files with 26 additions and 15 deletions
+15
View File
@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Jun 5 02:52:33 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.14:
* Add --interactive command line switch for username and password prompts
* add support for searching for addresses in CC field
* Use mimetype of encoding if there is one
* utils: use builtin way to get terminal width
* change build system to flit
* fix output of UTF-8 characters in limited locales
* fix multiple warnings
* remove unused readline import
- Switch to pyproject macros.
- Specify module directories explicitly.
-------------------------------------------------------------------
Thu Apr 8 13:57:58 UTC 2021 - Markéta Machová <mmachova@suse.com>
+8 -12
View File
@@ -1,7 +1,7 @@
#
# spec file for package pybugz
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,16 +17,15 @@
Name: pybugz
Version: 0.13
Version: 0.14
Release: 0
Summary: Python Bugzilla Interface
License: GPL-2.0-only
Group: Productivity/Networking/Web/Utilities
URL: http://www.liquidx.net/pybugz
Source0: https://github.com/williamh/pybugz/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: %{python_module base}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
Requires(post): update-alternatives
Requires(postun): update-alternatives
@@ -67,18 +66,14 @@ This package contains common files for %{name}.
%setup -q
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/bugz
%python_clone -a %{buildroot}%{_mandir}/man1/bugz.1
%fdupes %{buildroot}
install -Dpm 0644 contrib/bash-completion \
%{buildroot}%{_datadir}/bash-completion/completions/bugz
install -Dpm 0644 contrib/zsh-completion \
%{buildroot}%{_datadir}/zsh/site-functions/_bugz
install -d -m 0755 %{buildroot}%{_sysconfdir}/pybugz.d
%post
@@ -92,7 +87,8 @@ install -d -m 0755 %{buildroot}%{_sysconfdir}/pybugz.d
%doc README
%python_alternative %{_bindir}/bugz
%python_alternative %{_mandir}/man1/bugz.1%{ext_man}
%{python_sitelib}/*
%{python_sitelib}/bugz
%{python_sitelib}/pybugz-%{version}.dist-info
%files -n %{name}-common
%dir %{_sysconfdir}/pybugz.d
-3
View File
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a99309d42b7ed2e52cc0f0f3adc72d1ddc9354e3d944af276f9a7da946665afb
size 26876
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:351556c68c17a88a27e98629dc74d9cd1a6c2eae49ed05e1a69da1db93efe266
size 26589