fix rpm spec path reference

This commit is contained in:
Craig Raw 2025-02-04 11:22:06 +02:00
parent 3efaec2859
commit b4b679dd16
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ jobs:
- name: Show Build Versions
run: ./gradlew -v
- name: Build with Gradle
run: ./gradlew -i jpackage
run: ./gradlew jpackage
- name: Package zip distribution
if: ${{ runner.os == 'Windows' || runner.os == 'macOS' }}
run: ./gradlew packageZipDistribution

View File

@ -288,7 +288,7 @@ jlink {
} else {
installerOptions += ['--resource-dir', 'src/main/deploy/package/linux/', '--linux-shortcut', '--linux-menu-group', 'Sparrow']
}
installerOptions += ['--verbose', '--linux-app-category', 'utils', '--linux-app-release', '1', '--linux-rpm-license-type', 'ASL 2.0', '--linux-deb-maintainer', 'mail@sparrowwallet.com']
installerOptions += ['--linux-app-category', 'utils', '--linux-app-release', '1', '--linux-rpm-license-type', 'ASL 2.0', '--linux-deb-maintainer', 'mail@sparrowwallet.com']
imageOptions += ['--icon', 'src/main/deploy/package/linux/Sparrow.png', '--resource-dir', 'src/main/deploy/package/linux/']
}
if(os.macOsX) {

View File

@ -69,7 +69,7 @@ sed -i -e 's/.*/%dir "&"/' %{package_filelist}
%if "x%{_rpmdir}/../../LICENSE" != "x"
sed -i -e 's|"%{license_install_file}"||' -e '/^$/d' %{package_filelist}
%endif
install -D -m 644 %{_sourcedir}/opt/sparrow/lib/runtime/conf/udev/*.rules %{buildroot}/etc/udev/rules.d
install -D -m 644 %{_sourcedir}/opt/sparrow/lib/runtime/conf/udev/*.rules /etc/udev/rules.d
echo "/etc/udev/rules.d/20-hw1.rules" >> %{package_filelist}
echo "/etc/udev/rules.d/51-coinkite.rules" >> %{package_filelist}
echo "/etc/udev/rules.d/51-trezor.rules" >> %{package_filelist}