fixed incorrect versioning for rpm build

This commit is contained in:
nvrl committed 2026-07-20 17:06:36 +02:00
1 parent f803bf3cd7
commit 661ae3cf7a
2 files changed
+5 -1

No files matched your search

+2
View File
@@ -121,8 +121,10 @@ jobs:
# Build RPM package # Build RPM package
rpmbuild -bb \ rpmbuild -bb \
--nodeps \
--define "_topdir $PWD/rpmbuild" \ --define "_topdir $PWD/rpmbuild" \
--define "_sourcedir $PWD" \ --define "_sourcedir $PWD" \
--define "git_dir $PWD" \
--define "version ${RPM_VERSION}" \ --define "version ${RPM_VERSION}" \
--define "_dbpath $PWD/rpmbuild/db" \ --define "_dbpath $PWD/rpmbuild/db" \
packaging/proton-drive-linux.spec packaging/proton-drive-linux.spec
+3 -1
View File
@@ -7,8 +7,10 @@
# Match Arch PKGBUILD `!lto` — LTO has broken some GTK/Rust links in practice. # Match Arch PKGBUILD `!lto` — LTO has broken some GTK/Rust links in practice.
%global _lto_cflags %{nil} %global _lto_cflags %{nil}
%{!?version: %global version 0.4.0}
Name: proton-drive-linux Name: proton-drive-linux
Version: 0.4.0 Version: %{version}
Release: 1%{?dist} Release: 1%{?dist}
Summary: Proton Drive client for Linux (FUSE, CLI, GTK4 app + tray) Summary: Proton Drive client for Linux (FUSE, CLI, GTK4 app + tray)
License: MIT License: MIT