public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Grulich <jgrulich@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mediawriter] epel10: Fix windows build script
Date: Tue, 29 Sep 2026 15:27:46 GMT	[thread overview]
Message-ID: <179069566668.1.9674945614190196495.rpms-mediawriter-57f646537730@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/mediawriter
Branch : epel10
Commit : 57f6465377306f7cadfc148f78c603c90bbdbc35
Author : Jan Grulich <jgrulich@redhat.com>
Date   : 2021-03-03T08:59:08+01:00
Stats  : +28/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/mediawriter/c/57f6465377306f7cadfc148f78c603c90bbdbc35?branch=epel10

Log:
Fix windows build script

---
diff --git a/mediawriter-fix-windows-build.patch b/mediawriter-fix-windows-build.patch
new file mode 100644
index 0000000..8cbd464
--- /dev/null
+++ b/mediawriter-fix-windows-build.patch
@@ -0,0 +1,23 @@
+diff --git a/dist/win/build.sh b/dist/win/build.sh
+index 93c9be2..3a5eda6 100755
+--- a/dist/win/build.sh
++++ b/dist/win/build.sh
+@@ -40,7 +40,7 @@ ROOTPATH=$(realpath "$SCRIPTDIR/../../")
+ BUILDPATH="$ROOTPATH/build"
+ 
+ MEDIAWRITER="$BUILDPATH/app/release/mediawriter.exe"
+-HELPER="$BUILDPATH/app/helper.exe"
++HELPER="$BUILDPATH/app/release/helper.exe"
+ 
+ if ! $opt_nosign; then
+     if [ -z "$CERTPATH" ]; then
+@@ -197,7 +197,8 @@ popd >/dev/null
+ popd >/dev/null
+ 
+ echo "=== Composing installer"
+-unix2dos < "$ROOTPATH/LICENSE" > "$BUILDPATH/app/release/LICENSE.txt"
++unix2dos < "$ROOTPATH/LICENSE.GPL-2" > "$BUILDPATH/app/release/LICENSE.GPL-2.txt"
++unix2dos < "$ROOTPATH/LICENSE.LGPL-2" > "$BUILDPATH/app/release/LICENSE.LGPL-2.txt"
+ INSTALLED_SIZE=$(du -k -d0 "$BUILDPATH/app/release" | cut -f1)
+ cp "$SCRIPTDIR/mediawriter.nsi" "$SCRIPTDIR/mediawriter.tmp.nsi"
+ sed -i "s/#!define VERSIONMAJOR/!define VERSIONMAJOR ${VERSION_MAJOR}/" "$SCRIPTDIR/mediawriter.tmp.nsi"

diff --git a/mediawriter.spec b/mediawriter.spec
index ad18f94..e0bae42 100644
--- a/mediawriter.spec
+++ b/mediawriter.spec
@@ -1,6 +1,6 @@
 Name:           mediawriter
 Version:        4.2.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Fedora Media Writer
 
 License:        GPLv2+
@@ -8,6 +8,7 @@ URL:            https://github.com/FedoraQt/MediaWriter
 Source0:        https://github.com/FedoraQt/MediaWriter/archive/MediaWriter-%{version}.tar.gz
 
 Patch0:         mediawriter-md5.patch
+Patch1:         mediawriter-fix-windows-build.patch
 
 Provides:       liveusb-creator = %{version}-%{release}
 Obsoletes:      liveusb-creator <= 3.95.4-2
@@ -80,6 +81,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.fedo
 
 
 %changelog
+* Wed Mar 03 2021 Jan Grulich <jgrulich@redhat.com> - 4.2.0-3
+- Fix windows build script
+
 * Tue Jan 26 2021 Kalev Lember <klember@redhat.com> - 4.2.0-2
 - Install the theme into correct prefix when building for /app
 

                 reply	other threads:[~2026-09-29 15:27 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=179069566668.1.9674945614190196495.rpms-mediawriter-57f646537730@fedoraproject.org \
    --to=jgrulich@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