public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/amarok] epel10: Fix EPEL build
Date: Mon, 06 Jul 2026 18:05:53 GMT	[thread overview]
Message-ID: <178336115330.1.13028569667010913355.rpms-amarok-f508a5ef60be@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/amarok
            Branch : epel10
            Commit : f508a5ef60be0319e01c1c6121ffcfe2c00127f6
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2024-08-04T18:36:57-04:00
            Stats  : +7/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/amarok/c/f508a5ef60be0319e01c1c6121ffcfe2c00127f6?branch=epel10

            Log:
            Fix EPEL build

The gpodder, ipod, and lastfm features are enabled by default.  Since the
corresponding dependencies are disabled on EPEL, the features need to be
explicitly disabled, and their file components excluded.

---
diff --git a/amarok.spec b/amarok.spec
index f49e960..0f9ae95 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -162,6 +162,9 @@ CXXFLAGS="$CXXFLAGS -I%{_includedir}/qt5"
 %endif
 # force non-use of MYSQLCONFIG, to avoid (potential bogus) stuff from: mysql_config --libmysqld-libs
 %{cmake_kf5} \
+%if ! 0%{?fedora}
+  -DWITH_GPODDER=OFF -DWITH_IPOD=OFF -DWITH_LASTFM=OFF \
+%endif
   -DMYSQLCONFIG_EXECUTABLE:BOOL=OFF
 %{cmake_build}
 
@@ -203,8 +206,10 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}*.
 %{_kf5_qmldir}/org/kde/amarok
 %{_kf5_qtplugindir}/amarok_collection-audiocdcollection.so
 %{_kf5_qtplugindir}/amarok_collection-daapcollection.so
+%if 0%{?fedora}
 %{_kf5_qtplugindir}/amarok_collection-ipodcollection.so
 %{_kf5_qtplugindir}/amarok_collection-mtpcollection.so
+%endif
 %{_kf5_qtplugindir}/amarok_collection-mysqlcollection.so
 %{_kf5_qtplugindir}/amarok_collection-playdarcollection.so
 %{_kf5_qtplugindir}/amarok_collection-umscollection.so
@@ -232,8 +237,10 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}*.
 %{_kf5_libdir}/libamaroklib.so
 %{_kf5_libdir}/libamarokpud.so
 %{_kf5_libdir}/libamarokshared.so
+%if 0%{?fedora}
 %{_kf5_libdir}/libamarok_service_lastfm_config.so
 %{_kf5_libdir}/libgpodder_service_config.so
+%endif
 
 %files utils -f amarokcollectionscanner_qt.lang
 %{_kf5_bindir}/amarokcollectionscanner

                 reply	other threads:[~2026-07-06 18:05 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=178336115330.1.13028569667010913355.rpms-amarok-f508a5ef60be@fedoraproject.org \
    --to=yselkowi@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