public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ruff] f45: Move typeshed snapshot definition to top of spec
@ 2026-11-20 10:20 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-20 10:20 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ruff
Branch : f45
Commit : aedc1ac0bda9da79054c0b2c43206a66dc501aee
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-13T06:29:39+00:00
Stats : +7/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ruff/c/aedc1ac0bda9da79054c0b2c43206a66dc501aee?branch=f45
Log:
Move typeshed snapshot definition to top of spec
[skip changelog]
---
diff --git a/ruff.spec b/ruff.spec
index 180fa83..665306d 100644
--- a/ruff.spec
+++ b/ruff.spec
@@ -12,6 +12,13 @@ Version: 0.17.4
Release: %autorelease
Summary: Extremely fast Python linter and code formatter
+# Get this from ruff/crates/ty_vendored/vendor/typeshed/source_commit.txt.
+%global typeshed_rev 2e4d4dcf657f82305709bbe3e86bca4d27d4dd46
+# The typeshed project as a whole has never been versioned.
+%global typeshed_baseversion 0
+# Inspect https://github.com/python/typeshed/commit/%%{typeshed_rev}.
+%global typeshed_snapdate 20261030
+
# The license of the ruff project is MIT, except:
#
# As described in https://github.com/astral-sh/ruff/pull/20222, the README
@@ -143,13 +150,6 @@ License: %{full_license} %{shrink:
URL: https://github.com/astral-sh/ruff
Source: %{url}/archive/%{version}/ruff-%{version}.tar.gz
-# Get this from ruff/crates/ty_vendored/vendor/typeshed/source_commit.txt.
-%global typeshed_rev 2e4d4dcf657f82305709bbe3e86bca4d27d4dd46
-# The typeshed project as a whole has never been versioned.
-%global typeshed_baseversion 0
-# Inspect https://github.com/python/typeshed/commit/%%{typeshed_rev}.
-%global typeshed_snapdate 20261030
-
# Downstream patch: always find the system-wide ruff executable
#
# The following issue is for uv, but the situation is exactly the same.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-20 10:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 10:20 [rpms/ruff] f45: Move typeshed snapshot definition to top of spec Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox