public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mediawriter] epel10: Install the theme into correct prefix when building for /app
@ 2026-09-29 15:27 Kalev Lember
  0 siblings, 0 replies; only message in thread
From: Kalev Lember @ 2026-09-29 15:27 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/mediawriter
            Branch : epel10
            Commit : a0477848c426cb4add95db09361f1e9e911ec083
            Author : Kalev Lember <klember@redhat.com>
            Date   : 2021-01-26T14:52:33+01:00
            Stats  : +7/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/mediawriter/c/a0477848c426cb4add95db09361f1e9e911ec083?branch=epel10

            Log:
            Install the theme into correct prefix when building for /app

This fix is copied from org.fedoraproject.MediaWriter.json and adopted
for spec file.

---
diff --git a/mediawriter.spec b/mediawriter.spec
index 34e8b72..ad18f94 100644
--- a/mediawriter.spec
+++ b/mediawriter.spec
@@ -1,6 +1,6 @@
 Name:           mediawriter
 Version:        4.2.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Fedora Media Writer
 
 License:        GPLv2+
@@ -47,6 +47,9 @@ like flash drives or memory cards.
 %autosetup -p1 -n MediaWriter-%{version}
 mkdir %{_target_platform}
 
+# Install the theme into correct prefix when building for /app
+sed -i 's@\$\$\[QT_INSTALL_QML\]@%{_qt5_qmldir}@' theme/theme.pro
+
 %build
 pushd %{_target_platform}
 %{qmake_qt5} PREFIX=%{_prefix} MEDIAWRITER_VERSION=%{version}-%{release} ..
@@ -77,6 +80,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.fedo
 
 
 %changelog
+* Tue Jan 26 2021 Kalev Lember <klember@redhat.com> - 4.2.0-2
+- Install the theme into correct prefix when building for /app
+
 * Mon Jan 25 2021 Jan Grulich <jgrulich@redhat.com> - 4.2.0-1
 - 4.2.0
 

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

only message in thread, other threads:[~2026-09-29 15:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 15:27 [rpms/mediawriter] epel10: Install the theme into correct prefix when building for /app Kalev Lember

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