mattia pushed to rpms/python-jsonschema-spec (f37). "Update to 0.1.6"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 15:44:03 UTC
From 15f0f93c65d1b5d0ac18f79b247a13875c336e82 Mon Sep 17 00:00:00 2001
From: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Jun 17 2023 14:26:20 +0000
Subject: Update to 0.1.6
---
diff --git a/.gitignore b/.gitignore
index 477f516..0a75580 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/jsonschema-spec-0.1.2.tar.gz
/jsonschema-spec-0.1.3.tar.gz
+/jsonschema-spec-0.1.6.tar.gz
diff --git a/0001-Do-not-require-quite-such-a-recent-version-of-reques.patch b/0001-Do-not-require-quite-such-a-recent-version-of-reques.patch
new file mode 100644
index 0000000..dca6e24
--- /dev/null
+++ b/0001-Do-not-require-quite-such-a-recent-version-of-reques.patch
@@ -0,0 +1,25 @@
+From 48ec16bf7315f35d53a88f018cef7328ad759c08 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code(a)musicinmybrain.net>
+Date: Sat, 17 Jun 2023 10:20:05 -0400
+Subject: [PATCH] Do not require quite such a recent version of requests
+
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 9ce7170..a2f7607 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -46,7 +46,7 @@ pathable = "^0.4.1"
+ python = "^3.7.0"
+ PyYAML = ">=5.1"
+ typing-extensions = {version = "<4.6.0", python = "<3.8"} # See https://github.com/p1c2u/jsonschema-spec/issues/14
+-requests = {version = "^2.31.0", optional = true}
++requests = {version = "^2.28.2", optional = true}
+
+ [tool.poetry.dev-dependencies]
+ pre-commit = "*"
+--
+2.40.1
+
diff --git a/python-jsonschema-spec.spec b/python-jsonschema-spec.spec
index ff315a0..766913b 100644
--- a/python-jsonschema-spec.spec
+++ b/python-jsonschema-spec.spec
@@ -2,7 +2,7 @@
%global modname jsonschema_spec
Name: python-%{srcname}
-Version: 0.1.3
+Version: 0.1.6
Release: %autorelease
Summary: JSONSchema Spec with object-oriented paths
@@ -11,6 +11,19 @@ URL: https://github.com/p1c2u/%{srcname}
# The GitHub archive has the tests; the PyPI sdist does not.
Source: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
+# Do not require quite such a recent version of requests
+#
+# Until python-requests is updated to 2.31.0[1], loosen the minimum version to
+# 2.28.2. It is an optional dependency that was added with “deptry”
+# analysis[2], which is only really useful for upstream CI, but it is also
+# imported from jsonschema_spec/handlers/requests.py. There is no obvious
+# reason why the most recent version (ahead of Rawhide as of this writing)
+# should be needed.
+#
+# [1] https://bugzilla.redhat.com/show_bug.cgi?id=2189970
+# [2] https://github.com/p1c2u/jsonschema-spec/commit/d207d233e31198942ba417875...
+Patch: 0001-Do-not-require-quite-such-a-recent-version-of-reques.patch
+
BuildArch: noarch
BuildRequires: python3-devel
@@ -30,7 +43,7 @@ Summary: %{summary}
%prep
-%autosetup -n %{srcname}-%{version}
+%autosetup -n %{srcname}-%{version} -p1
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
sed -r -i '/^--cov[-=]/d' pyproject.toml
diff --git a/sources b/sources
index e484979..d1cd487 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (jsonschema-spec-0.1.3.tar.gz) = 95465c43b842289ed28dd78ec06614d77b2bbf7d9d69e5dc4b89008740d0cc85e5b3319acd66d0142b533425e8f150c4edbbf15b7f8e3bdefb28b81193a13432
+SHA512 (jsonschema-spec-0.1.6.tar.gz) = 78ea06a78fd25006d270e2c5033645133ee79b0f45cbfc54e250d4225a36beac59cf9aa92f15fd51bd101fac20fee990d693ab91d8343cd6a298d71735c80884
https://src.fedoraproject.org/rpms/python-jsonschema-spec/c/15f0f93c65d1b...
12 months
mattia pushed to rpms/python-jsonschema-spec (f37). "Switch to
GitHub source and run the tests"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 15:44:03 UTC
From 9c9331a9c6365dc62dbe4849bf063d5a3c8e8461 Mon Sep 17 00:00:00 2001
From: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Jan 25 2023 14:37:46 +0000
Subject: Switch to GitHub source and run the tests
---
diff --git a/python-jsonschema-spec.spec b/python-jsonschema-spec.spec
index 6fd7acc..26d0c06 100644
--- a/python-jsonschema-spec.spec
+++ b/python-jsonschema-spec.spec
@@ -7,12 +7,14 @@ Release: %autorelease
Summary: JSONSchema Spec with object-oriented paths
License: Apache-2.0
-URL: https://pypi.python.org/pypi/%{srcname}
-Source: %{pypi_source}
+URL: https://github.com/p1c2u/%{srcname}
+# The GitHub archive has the tests; the PyPI sdist does not.
+Source: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
+
BuildRequires: python3-devel
-BuildRequires: poetry
+BuildRequires: python3dist(pytest)
%global _description %{expand:
A python library which provides traverse JSON resources like paths and
@@ -29,6 +31,9 @@ Summary: %{summary}
%prep
%autosetup -n %{srcname}-%{version}
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
+sed -r -i '/^--cov[-=]/d' pyproject.toml
+
%generate_buildrequires
%pyproject_buildrequires
@@ -44,7 +49,7 @@ Summary: %{summary}
%check
-%pyproject_check_import
+%pytest
%files -n python3-%{srcname} -f %{pyproject_files}
diff --git a/sources b/sources
index 4dbb75e..30dae31 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (jsonschema-spec-0.1.2.tar.gz) = e14d8b009608f1bfe22002e002d499d83c7960c4c284714a0158d7b8eeab383c5306a3f66bf1df7cfac8b4388c77fc7ca2ecd6628cf72f9166e0145f07c66f83
+SHA512 (jsonschema-spec-0.1.2.tar.gz) = 0cba83a14e88d4fe2fcce9e4d39fa4284f23366a1f8acab16fa4b7b824d0c02bf04429d61c51a39a7a188c4e2b79f4481bba14ca688edee71beb0060e16617e0
https://src.fedoraproject.org/rpms/python-jsonschema-spec/c/9c9331a9c6365...
12 months
mattia pushed to rpms/python-jsonschema-spec (f37). "Allow a
slightly older requests version for F37"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 15:44:03 UTC
From c53415b61777a1ce130fd466c07ea5096b821c77 Mon Sep 17 00:00:00 2001
From: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Jun 17 2023 16:37:54 +0000
Subject: Allow a slightly older requests version for F37
---
diff --git a/0001-Do-not-require-quite-such-a-recent-version-of-reques.patch b/0001-Do-not-require-quite-such-a-recent-version-of-reques.patch
index dca6e24..0061b50 100644
--- a/0001-Do-not-require-quite-such-a-recent-version-of-reques.patch
+++ b/0001-Do-not-require-quite-such-a-recent-version-of-reques.patch
@@ -16,7 +16,7 @@ index 9ce7170..a2f7607 100644
PyYAML = ">=5.1"
typing-extensions = {version = "<4.6.0", python = "<3.8"} # See https://github.com/p1c2u/jsonschema-spec/issues/14
-requests = {version = "^2.31.0", optional = true}
-+requests = {version = "^2.28.2", optional = true}
++requests = {version = "^2.28.1", optional = true}
[tool.poetry.dev-dependencies]
pre-commit = "*"
diff --git a/python-jsonschema-spec.spec b/python-jsonschema-spec.spec
index 766913b..d941379 100644
--- a/python-jsonschema-spec.spec
+++ b/python-jsonschema-spec.spec
@@ -14,7 +14,7 @@ Source: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
# Do not require quite such a recent version of requests
#
# Until python-requests is updated to 2.31.0[1], loosen the minimum version to
-# 2.28.2. It is an optional dependency that was added with “deptry”
+# 2.28.1. It is an optional dependency that was added with “deptry”
# analysis[2], which is only really useful for upstream CI, but it is also
# imported from jsonschema_spec/handlers/requests.py. There is no obvious
# reason why the most recent version (ahead of Rawhide as of this writing)
https://src.fedoraproject.org/rpms/python-jsonschema-spec/c/c53415b61777a...
12 months
mattia pushed to rpms/python-jsonschema-spec (f37). "Update to 0.1.3
(fedora#2166182)"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 15:44:03 UTC
From 2a8c7c0fd6aba681d2d926a6d0f756a958e16290 Mon Sep 17 00:00:00 2001
From: Mattia Verga <mattia.verga(a)proton.me>
Date: Feb 03 2023 08:16:30 +0000
Subject: Update to 0.1.3 (fedora#2166182)
---
diff --git a/.gitignore b/.gitignore
index 75d90b7..477f516 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/jsonschema-spec-0.1.2.tar.gz
+/jsonschema-spec-0.1.3.tar.gz
diff --git a/python-jsonschema-spec.spec b/python-jsonschema-spec.spec
index 26d0c06..ff315a0 100644
--- a/python-jsonschema-spec.spec
+++ b/python-jsonschema-spec.spec
@@ -2,7 +2,7 @@
%global modname jsonschema_spec
Name: python-%{srcname}
-Version: 0.1.2
+Version: 0.1.3
Release: %autorelease
Summary: JSONSchema Spec with object-oriented paths
diff --git a/sources b/sources
index 30dae31..e484979 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (jsonschema-spec-0.1.2.tar.gz) = 0cba83a14e88d4fe2fcce9e4d39fa4284f23366a1f8acab16fa4b7b824d0c02bf04429d61c51a39a7a188c4e2b79f4481bba14ca688edee71beb0060e16617e0
+SHA512 (jsonschema-spec-0.1.3.tar.gz) = 95465c43b842289ed28dd78ec06614d77b2bbf7d9d69e5dc4b89008740d0cc85e5b3319acd66d0142b533425e8f150c4edbbf15b7f8e3bdefb28b81193a13432
https://src.fedoraproject.org/rpms/python-jsonschema-spec/c/2a8c7c0fd6aba...
12 months
mattia pushed to rpms/python-jsonschema-spec (f37). "Initial import
(fedora#2154188)"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 15:44:03 UTC
From c314e9cf940b5d9ae5fc22716348488c5da236b5 Mon Sep 17 00:00:00 2001
From: Mattia Verga <mattia.verga(a)proton.me>
Date: Dec 21 2022 17:28:37 +0000
Subject: Initial import (fedora#2154188)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..75d90b7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/jsonschema-spec-0.1.2.tar.gz
diff --git a/README.md b/README.md
index 9107827..e819e44 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,4 @@
# python-jsonschema-spec
-The python-jsonschema-spec package
+A python library which provides traverse JSON resources like paths and
+access resources on demand with separate accessor layer.
diff --git a/python-jsonschema-spec.spec b/python-jsonschema-spec.spec
new file mode 100644
index 0000000..6fd7acc
--- /dev/null
+++ b/python-jsonschema-spec.spec
@@ -0,0 +1,56 @@
+%global srcname jsonschema-spec
+%global modname jsonschema_spec
+
+Name: python-%{srcname}
+Version: 0.1.2
+Release: %autorelease
+Summary: JSONSchema Spec with object-oriented paths
+
+License: Apache-2.0
+URL: https://pypi.python.org/pypi/%{srcname}
+Source: %{pypi_source}
+
+BuildArch: noarch
+BuildRequires: python3-devel
+BuildRequires: poetry
+
+%global _description %{expand:
+A python library which provides traverse JSON resources like paths and
+access resources on demand with separate accessor layer.}
+
+%description %_description
+
+
+%package -n python3-%{srcname}
+Summary: %{summary}
+
+%description -n python3-%{srcname} %_description
+
+
+%prep
+%autosetup -n %{srcname}-%{version}
+
+%generate_buildrequires
+%pyproject_buildrequires
+
+
+%build
+%pyproject_wheel
+
+
+%install
+%pyproject_install
+%pyproject_save_files %{modname}
+
+
+%check
+%pyproject_check_import
+
+
+%files -n python3-%{srcname} -f %{pyproject_files}
+%license LICENSE
+%doc README.rst
+
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..4dbb75e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (jsonschema-spec-0.1.2.tar.gz) = e14d8b009608f1bfe22002e002d499d83c7960c4c284714a0158d7b8eeab383c5306a3f66bf1df7cfac8b4388c77fc7ca2ecd6628cf72f9166e0145f07c66f83
https://src.fedoraproject.org/rpms/python-jsonschema-spec/c/c314e9cf940b5...
12 months
pagure pushed to rpms/python-jsonschema-spec (rawhide). "Allow a
slightly older requests version for F37"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 15:40:43 UTC
From c53415b61777a1ce130fd466c07ea5096b821c77 Mon Sep 17 00:00:00 2001
From: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Jun 17 2023 16:37:54 +0000
Subject: Allow a slightly older requests version for F37
---
diff --git a/0001-Do-not-require-quite-such-a-recent-version-of-reques.patch b/0001-Do-not-require-quite-such-a-recent-version-of-reques.patch
index dca6e24..0061b50 100644
--- a/0001-Do-not-require-quite-such-a-recent-version-of-reques.patch
+++ b/0001-Do-not-require-quite-such-a-recent-version-of-reques.patch
@@ -16,7 +16,7 @@ index 9ce7170..a2f7607 100644
PyYAML = ">=5.1"
typing-extensions = {version = "<4.6.0", python = "<3.8"} # See https://github.com/p1c2u/jsonschema-spec/issues/14
-requests = {version = "^2.31.0", optional = true}
-+requests = {version = "^2.28.2", optional = true}
++requests = {version = "^2.28.1", optional = true}
[tool.poetry.dev-dependencies]
pre-commit = "*"
diff --git a/python-jsonschema-spec.spec b/python-jsonschema-spec.spec
index 766913b..d941379 100644
--- a/python-jsonschema-spec.spec
+++ b/python-jsonschema-spec.spec
@@ -14,7 +14,7 @@ Source: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
# Do not require quite such a recent version of requests
#
# Until python-requests is updated to 2.31.0[1], loosen the minimum version to
-# 2.28.2. It is an optional dependency that was added with “deptry”
+# 2.28.1. It is an optional dependency that was added with “deptry”
# analysis[2], which is only really useful for upstream CI, but it is also
# imported from jsonschema_spec/handlers/requests.py. There is no obvious
# reason why the most recent version (ahead of Rawhide as of this writing)
https://src.fedoraproject.org/rpms/python-jsonschema-spec/c/c53415b61777a...
12 months
mjw pushed to rpms/debugedit (rawhide). "5.0-8 - Add
0001-find-debuginfo-Prefix-install_dir-to-PATH.patch"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 15:40:10 UTC
From b23c6c74d03f29a79beb7376244e59eca32e2592 Mon Sep 17 00:00:00 2001
From: Mark Wielaard <mjw(a)fedoraproject.org>
Date: Jun 30 2023 15:39:47 +0000
Subject: 5.0-8 - Add 0001-find-debuginfo-Prefix-install_dir-to-PATH.patch
---
diff --git a/0001-find-debuginfo-Prefix-install_dir-to-PATH.patch b/0001-find-debuginfo-Prefix-install_dir-to-PATH.patch
new file mode 100644
index 0000000..bbf6aff
--- /dev/null
+++ b/0001-find-debuginfo-Prefix-install_dir-to-PATH.patch
@@ -0,0 +1,53 @@
+From 7f8e83cad517db081e1e0369b758d0279e0a6e1b Mon Sep 17 00:00:00 2001
+From: Mark Wielaard <mark(a)klomp.org>
+Date: Thu, 29 Jun 2023 14:26:39 +0200
+Subject: [PATCH] find-debuginfo: Prefix install_dir to PATH
+
+Some distros install a symlink to find-debuginfo[.sh] under the
+old /usr/lib/rpm/ path. But don't have symlinks there for other
+helper tools like debugedit and sepdebugcrcfix. So those tools
+are then not under the install_dir as find-debuginfo calculates
+it. So instead of invoking those helper tools with a full install
+dir path, prefix the install dir to the PATH so the tools can be
+found there (or anywhere else on the PATH).
+
+Signed-off-by: Mark Wielaard <mark(a)klomp.org>
+---
+ scripts/find-debuginfo.in | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/scripts/find-debuginfo.in b/scripts/find-debuginfo.in
+index e7ac095..f87b777 100755
+--- a/scripts/find-debuginfo.in
++++ b/scripts/find-debuginfo.in
+@@ -101,7 +101,9 @@ EOF
+ }
+
+ # Figure out where we are installed so we can call other helper scripts.
++# Prefix to PATH to prefer tools from install dir.
+ install_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
++PATH=${install_dir}:$PATH
+
+ # With -g arg, pass it to strip on libraries or executables.
+ strip_g=false
+@@ -457,7 +459,7 @@ do_file()
+ if [ "$no_recompute_build_id" = "true" ]; then
+ no_recompute="-n"
+ fi
+- id=$(${install_dir}/debugedit -b "$debug_base_name" -d "$debug_dest_name" \
++ id=$(debugedit -b "$debug_base_name" -d "$debug_dest_name" \
+ $no_recompute -i \
+ ${build_id_seed:+--build-id-seed="$build_id_seed"} \
+ -l "$SOURCEFILE" "$f") || exit
+@@ -619,7 +621,7 @@ if $run_dwz \
+ # dwz invalidates .gnu_debuglink CRC32 in the main files.
+ cat "$ELFBINSFILE" |
+ (cd "$RPM_BUILD_ROOT"; \
+- tr '\n' '\0' | xargs -0 ${install_dir}/sepdebugcrcfix usr/lib/debug)
++ tr '\n' '\0' | xargs -0 sepdebugcrcfix usr/lib/debug)
+ fi
+ fi
+
+--
+2.40.1
+
diff --git a/debugedit.spec b/debugedit.spec
index b37bae6..fe6e7a4 100644
--- a/debugedit.spec
+++ b/debugedit.spec
@@ -1,6 +1,6 @@
Name: debugedit
Version: 5.0
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Tools for debuginfo creation
License: GPLv3+ and GPLv2+ and LGPLv2+
URL: https://sourceware.org/debugedit/
@@ -47,6 +47,7 @@ Patch3: 0001-find-debuginfo-Pass-j-down-to-dwz.patch
Patch4: 0002-configure.ac-Use-AC_LINK_IFELSE-for-gz-none-check.patch
Patch5: 0003-configure.ac-Use-AC_LANG_PROGRAM-for-AC_LINK_IFELSE-.patch
Patch6: 0004-scripts-find-debuginfo.in-Add-q-quiet.patch
+Patch7: 0001-find-debuginfo-Prefix-install_dir-to-PATH.patch
%description
The debugedit project provides programs and scripts for creating
@@ -88,6 +89,9 @@ make check %{?_smp_mflags}
%{_mandir}/man1/find-debuginfo.1*
%changelog
+* Fri Jun 30 2023 Mark Wielaard <mjw(a)fedoraproject.org> - 5.0-8
+- Add 0001-find-debuginfo-Prefix-install_dir-to-PATH.patch
+
* Fri Jan 27 2023 Mark Wielaard <mjw(a)fedoraproject.org> - 5.0-2
- Refresh 0001-tests-Handle-zero-directory-entry-in-.debug_line-DWA.patch
- Add new upstream patches:
https://src.fedoraproject.org/rpms/debugedit/c/b23c6c74d03f29a79beb737624...
12 months