public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libcec] f44: Fix broken cmake file, disable static instead of just deleting it
@ 2026-08-02  7:09 Leigh Scott
  0 siblings, 0 replies; only message in thread
From: Leigh Scott @ 2026-08-02  7:09 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libcec
Branch : f44
Commit : 4109d0641c98305b6457aca3e137adbac3512ba1
Author : Leigh Scott <leigh123linux@gmail.com>
Date   : 2026-08-02T08:04:57+01:00
Stats  : +8/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/libcec/c/4109d0641c98305b6457aca3e137adbac3512ba1?branch=f44

Log:
Fix broken cmake file, disable static instead of just deleting it

---
diff --git a/libcec.spec b/libcec.spec
index 6863d3f..e6773a1 100644
--- a/libcec.spec
+++ b/libcec.spec
@@ -1,6 +1,6 @@
 Name:          libcec
 Version:       8.0.0
-Release:       3%{?dist}
+Release:       4%{?dist}
 Summary:       Library and utilities for HDMI-CEC device control
 License:       GPL-2.0-or-later
 URL:           http://libcec.pulse-eight.com/
@@ -59,8 +59,8 @@ rm -rf driver
 
 %build
 %cmake \
-    -DHAVE_LINUX_API=on \
-    .
+    -DHAVE_LINUX_API=ON \
+    -DDISABLE_STATIC=ON
 
 %cmake_build
 
@@ -72,9 +72,6 @@ install -Dm 644 systemd/cec-active-source.service %{buildroot}%{_unitdir}/cec-ac
 install -Dm 644 systemd/cec-active-source.timer %{buildroot}%{_unitdir}/cec-active-source.timer
 install -Dm 644 systemd/cec-poweroff-tv.service %{buildroot}%{_unitdir}/cec-poweroff-tv.service
 
-#Remove static libraries and libtool archives.
-find %{buildroot} \( -name '*.la' -o -name '*.a' \) -type f -delete -print
-
 # Remove versioned binaries
 rm %{buildroot}%{_bindir}/cec-client %{buildroot}%{_bindir}/cecc-client
 mv %{buildroot}%{_bindir}/cec-client-%{version} %{buildroot}%{_bindir}/cec-client
@@ -106,16 +103,19 @@ mv %{buildroot}%{_bindir}/cecc-client-%{version} %{buildroot}%{_bindir}/cecc-cli
 %{_unitdir}/cec-poweroff-tv.service
 
 %files devel
-%{_includedir}/libcec
+%{_includedir}/libcec/
 %{_libdir}/pkgconfig/libcec.pc
 %{_libdir}/libcec.so
-%{_libdir}/cmake/libcec
+%{_libdir}/cmake/libcec/
 
 %files -n python3-libcec
 %{_bindir}/pyCecClient
 %{python3_sitearch}/*
 
 %changelog
+* Sun Aug 02 2026 Leigh Scott <leigh123linux@gmail.com> - 8.0.0-4
+- Fix broken cmake file, disable static instead of just deleting it
+
 * Tue Jul 28 2026 Jitka Plesnikova <jplesnik@redhat.com> - 8.0.0-3
 - Replace removed Python 2 C API macros for SWIG 4.5.0 compatibility
 

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

only message in thread, other threads:[~2026-08-02  7:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-02  7:09 [rpms/libcec] f44: Fix broken cmake file, disable static instead of just deleting it Leigh Scott

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