public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schorm <mschorm@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mariadb-connector-c] f44: [cleanup] Replace private '%__cmake_builddir' macro with public '%{_vpath_builddir}'
Date: Thu, 25 Jun 2026 18:19:46 GMT	[thread overview]
Message-ID: <178241158627.1.14581451450207233590.rpms-mariadb-connector-c-3869a568f0fb@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/mariadb-connector-c
            Branch : f44
            Commit : 3869a568f0fb1d27062010116e28a8f78289f18c
            Author : Michal Schorm <mschorm@redhat.com>
            Date   : 2026-06-24T20:21:38+02:00
            Stats  : +2/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/mariadb-connector-c/c/3869a568f0fb1d27062010116e28a8f78289f18c?branch=f44

            Log:
            [cleanup] Replace private '%__cmake_builddir' macro with public '%{_vpath_builddir}'

Both expand to the same value, but '%{_vpath_builddir}' is the
documented public macro, while '%__cmake_builddir' is a private
implementation detail of the '%cmake' macro family.

Co-Authored-By: Claude AI <noreply@anthropic.com>

---
diff --git a/mariadb-connector-c.spec b/mariadb-connector-c.spec
index fd941ab..316fabe 100644
--- a/mariadb-connector-c.spec
+++ b/mariadb-connector-c.spec
@@ -146,7 +146,7 @@ rm -r win win-iconv external/zlib
        -DWITH_UNIT_TESTS=ON
 %endif
 
-cmake -B %__cmake_builddir -LAH
+cmake -B %{_vpath_builddir} -LAH
 
 %cmake_build
 
@@ -186,7 +186,7 @@ install -D -p -m 0644 %{name}.conf %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{nam
 # - ignore the testsuite result for now. Enable tests now, fix them later.
 # Note: there must be a database called 'test' created for the testcases to be run
 %if %{with testsuite}
-%ctest --test-dir %{__cmake_builddir}/unittest/libmariadb/
+%ctest --test-dir %{_vpath_builddir}/unittest/libmariadb/
 %endif
 
 

                 reply	other threads:[~2026-06-25 18:19 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=178241158627.1.14581451450207233590.rpms-mariadb-connector-c-3869a568f0fb@fedoraproject.org \
    --to=mschorm@redhat.com \
    --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