From 7e96a4f6c24f76c43de8cebce8a908563ad351d2cfc9b03f2b473710b35f3928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 12 Mar 2025 09:16:48 +0000 Subject: [PATCH] Accepting request 1252211 from home:ojkastl_buildservice:Branch_devel_languages_python update to 1.6.5 and add doc subpackage for the manpage OBS-URL: https://build.opensuse.org/request/show/1252211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-segno?expand=0&rev=6 --- python-segno.changes | 10 ++++++++++ python-segno.spec | 17 ++++++++++++++--- segno-1.6.1.tar.gz | 3 --- segno-1.6.5.tar.gz | 3 +++ 4 files changed, 27 insertions(+), 6 deletions(-) delete mode 100644 segno-1.6.1.tar.gz create mode 100644 segno-1.6.5.tar.gz diff --git a/python-segno.changes b/python-segno.changes index 795fd0e..9983e3a 100644 --- a/python-segno.changes +++ b/python-segno.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Mar 12 06:03:51 UTC 2025 - Johannes Kastl + +- update to 1.6.5 (no releases between 1.6.1 and 1.6.5): + - Fixed packaging: include man page, source distribution did not + contain all relevant files such as docs and test suite. + - Moved man page to the correct directory + - Fixed PDF creation: 144 and 145 provided by Mathias Winkel + - Merged 143 (typo in docs) provided by Marek Madejski + ------------------------------------------------------------------- Thu Dec 5 06:20:37 UTC 2024 - Johannes Kastl diff --git a/python-segno.spec b/python-segno.spec index 722448a..d5ca9c6 100644 --- a/python-segno.spec +++ b/python-segno.spec @@ -1,7 +1,7 @@ # # spec file for package python-segno # -# Copyright (c) 2024 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 @@ -18,15 +18,15 @@ %{?sle15_python_module_pythons} Name: python-segno -Version: 1.6.1 +Version: 1.6.5 Release: 0 Summary: QR Code and Micro QR Code generator for Python License: BSD-3-Clause URL: https://github.com/heuer/segno/ Source0: https://github.com/heuer/segno/archive/refs/tags/%{version}.tar.gz#/segno-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module flit-core >= 3.2} BuildRequires: %{python_module pip} +BuildRequires: python-rpm-macros # SECTION test BuildRequires: %{python_module pytest} BuildRequires: %{python_module pypng} @@ -46,6 +46,12 @@ The project provides more than 1500 test cases (coverage >= 98%) to verify a standard conform QR Code and Micro QR Code generation acc. to ISO/IEC 18004:2015(E). +%package -n %{name}-doc +Summary: Documentation files for %{name} + +%description -n %{name}-doc +Man page for %{name}. + %prep %autosetup -p1 -n segno-%{version} @@ -56,6 +62,8 @@ chmod 755 ./segno/cli.py %install %pyproject_install +install -d %{buildroot}%{_mandir}/man1/ +mv -v %{buildroot}/usr/usr/share/man/man1/segno.1 %{buildroot}%{_mandir}/man1/ %python_clone -a %{buildroot}%{_bindir}/segno %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -76,4 +84,7 @@ IGNORED_CHECKS="test_plugin" %{python_sitelib}/segno %{python_sitelib}/segno-%{version}.dist-info +%files -n %{name}-doc +%{_mandir}/man1/segno.1.gz + %changelog diff --git a/segno-1.6.1.tar.gz b/segno-1.6.1.tar.gz deleted file mode 100644 index 0f71ac9..0000000 --- a/segno-1.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0985ef18a02891c57651acf208eba1b1defca5dfbcce6bcb831abe425ae0c469 -size 1631683 diff --git a/segno-1.6.5.tar.gz b/segno-1.6.5.tar.gz new file mode 100644 index 0000000..13936b3 --- /dev/null +++ b/segno-1.6.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9a72ea583ec6fad9016197d0553fa005be96170805520189e14d2f12347e8c5 +size 1627667