public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mediawriter] epel10: Fix windows build script
@ 2026-09-29 15:27 Jan Grulich
0 siblings, 0 replies; only message in thread
From: Jan Grulich @ 2026-09-29 15:27 UTC (permalink / raw)
To: git-commits
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
^ 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: Fix windows build script Jan Grulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox