public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/soci] update-to-4.1.4: Use SOCI_STATIC=OFF
@ 2026-06-20 4:40
0 siblings, 0 replies; only message in thread
From: @ 2026-06-20 4:40 UTC (permalink / raw)
To: git-commits
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'}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-20 4:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-20 4:40 [rpms/soci] update-to-4.1.4: Use SOCI_STATIC=OFF
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox