Fixing arm build, adding autoupdate gitea workflow
This commit is contained in:
@@ -5,6 +5,8 @@ x86_64 tarball:
|
||||
|
||||
`https://packages.element.io/desktop/install/linux/glibc-x86-64/element-desktop.tar.gz`
|
||||
|
||||
Latest upstream version tracked in this repo: `1.12.15`
|
||||
|
||||
## What it does
|
||||
|
||||
- Downloads the current upstream tarball.
|
||||
@@ -12,6 +14,8 @@ x86_64 tarball:
|
||||
- Repackages the prebuilt binaries into an RPM.
|
||||
- Removes the upstream auto-update manifest so RPM remains the update path.
|
||||
- Sets `resources/package-type` to `rpm`.
|
||||
- Forces `rpmbuild` to target `x86_64`, which avoids COPR SRPM failures on
|
||||
non-`x86_64` source builders.
|
||||
- Supports COPR SCM builds through `.copr/Makefile`.
|
||||
|
||||
## Local builds
|
||||
@@ -37,6 +41,7 @@ Use COPR's SCM source type with:
|
||||
- Clone URL: this repository
|
||||
- Spec file: `SPECS/element-desktop.spec`
|
||||
- SRPM build method: `make srpm`
|
||||
- Enable only `x86_64` binary chroots for this package
|
||||
|
||||
COPR will invoke `.copr/Makefile`, which calls the same SRPM generation script
|
||||
used for local builds. That script downloads the upstream tarball during the
|
||||
|
||||
Reference in New Issue
Block a user