public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/soci] update-to-4.1.4: Use SOCI_STATIC=OFF
Date: Sat, 20 Jun 2026 04:40:08 GMT	[thread overview]
Message-ID: <178193040878.1.18105773599219598965.rpms-soci-74055c108153@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/soci
            Branch : update-to-4.1.4
            Commit : 74055c108153aa30e9e111bebc2459f7dfe33716
            Author : Tomi Lähteenmäki <lihis@lihis.net>
            Date   : 2026-01-07T19:16:33+02:00
            Stats  : +1/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/soci/c/74055c108153aa30e9e111bebc2459f7dfe33716?branch=update-to-4.1.4

            Log:
            Use SOCI_STATIC=OFF

Use SOCI_STATIC=OFF to disable static libraries instead of removing them from buildroot

---
diff --git a/soci.spec b/soci.spec
index 91926b9..283fa83 100644
--- a/soci.spec
+++ b/soci.spec
@@ -222,6 +222,7 @@ dos2unix AUTHORS README ChangeLog COPYING NEWS
 %endif
 
 %cmake \
+ -DSOCI_STATIC=OFF \
  -DSOCI_EMPTY=%{?with_empty:ON}%{!?with_empty:OFF} \
  -DSOCI_SQLITE3=%{?with_sqlite3:ON}%{!?with_sqlite3:OFF} \
  -DSOCI_POSTGRESQL=%{?with_postgresql:ON}%{!?with_postgresql:OFF} \
@@ -242,9 +243,6 @@ mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
 mkdir -p %{buildroot}%{_datadir}/%{name}
 mv -f %{buildroot}%{_libdir}/cmake %{buildroot}%{_datadir}/%{name}/CMake
 
-# Remove unpackaged files from the buildroot
-rm -f %{buildroot}%{_libdir}/*.a
-
 %if %{with tests}
 %check
 %{ctest --exclude-regex 'soci_(odbc|mysql|postgresql)_test'}

                 reply	other threads:[~2026-06-20  4:40 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=178193040878.1.18105773599219598965.rpms-soci-74055c108153@fedoraproject.org \
    --to=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