public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mold] rawhide: Switch to `%{forgemeta}`
@ 2026-08-30 18:30 Christoph Erhardt
  0 siblings, 0 replies; only message in thread
From: Christoph Erhardt @ 2026-08-30 18:30 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/mold
            Branch : rawhide
            Commit : cd7ea32f02f062c3afa319a8c5a62d2b6105ab00
            Author : Christoph Erhardt <fedora@sicherha.de>
            Date   : 2026-08-30T20:29:23+02:00
            Stats  : +7/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/mold/c/cd7ea32f02f062c3afa319a8c5a62d2b6105ab00?branch=rawhide

            Log:
            Switch to `%{forgemeta}`

[skip changelog]

---
diff --git a/mold.spec b/mold.spec
index 48988b6..f5e2c30 100644
--- a/mold.spec
+++ b/mold.spec
@@ -10,9 +10,13 @@ Version:        2.41.0
 Release:        %autorelease
 Summary:        A Modern Linker
 
+%global forgeurl https://github.com/rui314/%{name}
+%global tag      v%{version}
+%forgemeta
+
 License:        MIT AND (Apache-2.0 OR MIT)
-URL:            https://github.com/rui314/mold
-Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+URL:            %{forgeurl}
+Source0:        %{forgesource}
 
 # Allow building against the system-provided `xxhash.h`
 Patch0:         0001-Use-system-compatible-include-path-for-xxhash.h.patch
@@ -75,7 +79,7 @@ mold is designed to increase developer productivity by reducing
 build time, especially in rapid debug-edit-rebuild cycles.
 
 %prep
-%autosetup -p1
+%forgeautosetup -p1
 rm -r third-party/{blake3,mimalloc,xxhash,zlib,zstd}
 %if %{use_system_tbb}
 rm -r third-party/tbb

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-30 18:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-30 18:30 [rpms/mold] rawhide: Switch to `%{forgemeta}` Christoph Erhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox