public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libmemcached-awesome] f44: use forge macros
@ 2026-11-25 11:00 Remi Collet
  0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-11-25 11:00 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/libmemcached-awesome
            Branch : f44
            Commit : 7b6e88c27f7dd34fd22a4c85ba7071f4fda35035
            Author : Remi Collet <remi@fedoraproject.org>
            Date   : 2026-11-25T12:00:40+01:00
            Stats  : +6/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/libmemcached-awesome/c/7b6e88c27f7dd34fd22a4c85ba7071f4fda35035?branch=f44

            Log:
            use forge macros

(cherry picked from commit 4ff84ea03d2b147585c957d7a23c8083c109f3a2)

---
diff --git a/libmemcached-awesome.spec b/libmemcached-awesome.spec
index 01cafac..d40ca2b 100644
--- a/libmemcached-awesome.spec
+++ b/libmemcached-awesome.spec
@@ -13,10 +13,10 @@
 
 %global libname              libmemcached
 
-%global gh_commit            92d18858b417309f6bdee6bce464a4f3d6a375fd
-%global gh_short             %(c=%{gh_commit}; echo ${c:0:7})
 %global gh_owner             awesomized
 %global gh_project           libmemcached
+%global forgeurl             https://github.com/%{gh_owner}/%{gh_project}
+%global tag                  %{upstream_version}%{?upstream_prever:-%{upstream_prever}}
 
 %global upstream_version     1.1.5
 #global upstream_prever      beta3
@@ -27,8 +27,9 @@ Version:   %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
 Release:   1%{?dist}
 # SPDX:
 License:   BSD-3-Clause
-URL:       https://github.com/%{gh_owner}/%{gh_project}
-Source0:   https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
+%forgemeta
+URL:            %{forgeurl}
+Source0:        %{forgesource}
 
 BuildRequires: cmake >= 3.9
 # Cannot use Ninja generator because of "multiple rules generate docs/man"
@@ -107,7 +108,7 @@ memtouch    Touches a key
 
 
 %prep
-%setup -q -n %{gh_project}-%{gh_commit}
+%forgesetup
 
 # drop test hanging in mock
 # and requiring some memcached build options

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

only message in thread, other threads:[~2026-11-25 11:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25 11:00 [rpms/libmemcached-awesome] f44: use forge macros Remi Collet

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