public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/libmemcached-awesome] f44: use forge macros
Date: Wed, 25 Nov 2026 11:00:49 GMT	[thread overview]
Message-ID: <179560444933.1.4779156826700225475.rpms-libmemcached-awesome-7b6e88c27f7d@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-11-25 11:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179560444933.1.4779156826700225475.rpms-libmemcached-awesome-7b6e88c27f7d@fedoraproject.org \
    --to=remi@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox