public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Leigh Scott <leigh123linux@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libcec] rawhide: Fix broken cmake file, disable static instead of just deleting it
Date: Sun, 02 Aug 2026 07:07:42 GMT	[thread overview]
Message-ID: <178565446219.1.11055292355874949714.rpms-libcec-4109d0641c98@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/libcec
Branch : rawhide
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=rawhide

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
 

                 reply	other threads:[~2026-08-02  7:07 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=178565446219.1.11055292355874949714.rpms-libcec-4109d0641c98@fedoraproject.org \
    --to=leigh123linux@gmail.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