public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/jc] rawhide: Update to v1.25.7
@ 2026-06-18 18:07 Artur Frenszek-Iwicki
0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-06-18 18:07 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/jc
Branch : rawhide
Commit : 75dbcac4fe08347d1abd89c85575e8cd3308a9c0
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date : 2026-06-18T19:19:19+02:00
Stats : +18/-19 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/jc/c/75dbcac4fe08347d1abd89c85575e8cd3308a9c0?branch=rawhide
Log:
Update to v1.25.7
---
diff --git a/jc.spec b/jc.spec
index 9e19d1d..0a38394 100644
--- a/jc.spec
+++ b/jc.spec
@@ -2,8 +2,8 @@ Name: jc
Summary: Serialize the output of CLI tools and file-types to structured JSON
License: MIT
-Version: 1.25.6
-Release: 3%{?dist}
+Version: 1.25.7
+Release: 1%{?dist}
URL: https://github.com/kellyjonbrazil/%{name}
Source0: %{URL}/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -11,10 +11,6 @@ Source0: %{URL}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
-BuildRequires: python3dist(setuptools)
-BuildRequires: python3dist(pygments) >= 2.4.2
-BuildRequires: python3dist(ruamel-yaml) >= 0.15
-BuildRequires: python3dist(xmltodict) >= 0.12
# Require the python module in the main package
Requires: python3-%{name} = %{version}-%{release}
@@ -38,19 +34,23 @@ tools and file types into structured JSON, for easier further processing.
%autosetup -p1
+%generate_buildrequires
+%pyproject_buildrequires
+
+
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files %{name}
install -m 755 -d %{buildroot}%{_mandir}/man1
install -m 644 -p man/jc.1 %{buildroot}%{_mandir}/man1/
-COMPDIR="%{buildroot}%{_datadir}/bash-completion/completions"
-install -m 755 -d "${COMPDIR}"
-install -m 644 -p completions/jc_bash_completion.sh "${COMPDIR}/%{name}"
+install -m 755 -d %{buildroot}%{bash_completions_dir}
+install -m 644 -p completions/jc_bash_completion.sh %{buildroot}%{bash_completions_dir}/%{name}
%check
@@ -61,20 +61,19 @@ TZ="America/Los_Angeles" ./runtests.sh
%doc README.md EXAMPLES.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.*
+%{bash_completions_dir}
-%dir %{_datadir}/bash-completion/
-%dir %{_datadir}/bash-completion/completions/
-%{_datadir}/bash-completion/completions/*
-
-%files -n python3-%{name}
+%files -n python3-%{name} -f %{pyproject_files}
%doc docs/
%license LICENSE.md
-%{python3_sitelib}/%{name}
-%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
%changelog
+* Thu Jun 18 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1.25.7-1
+- Update to v1.25.7
+- Adjust spec to current Python Packaging Guidelines
+
* Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 1.25.6-3
- Rebuilt for Python 3.15
diff --git a/sources b/sources
index 4a64bf2..8cbcb76 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (jc-1.25.6.tar.gz) = 5ec64731f5e01608fb5cd97fa0e12ad43e7147b79ccc3ab86c685aba7742cdd8a7d8da8d2bec518f675625e569287661a68bc5351f85c2db3776db0644d26dc4
+SHA512 (jc-1.25.7.tar.gz) = 2b06e538850f91c57b547272468e6096ef6a64e95206cbdd298296eda90605deda96a64ee63b8648bc9d710927249c1639a8cba9423746db2b8b19c61ed0af1d
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-18 18:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-18 18:07 [rpms/jc] rawhide: Update to v1.25.7 Artur Frenszek-Iwicki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox