RPM build without tarball #52

Closed
opened 2026-04-23 13:49:30 +02:00 by yestax · 2 comments
Owner

#31 introduces the use of a submodule to vendor sources.

Building a tarball is manual for now and can be tricky without git archive (prefix, ...)

Try to use rpmbuild --build-in-place option to build directly after a git clone --recuse-submodules. That would allow much more simple builds.

#31 introduces the use of a submodule to vendor sources. Building a tarball is manual for now and can be tricky without git archive (prefix, ...) Try to use rpmbuild --build-in-place option to build directly after a git clone --recuse-submodules. That would allow much more simple builds.
yestax added this to the Setup v1.2.X milestone 2026-04-23 13:49:30 +02:00
Author
Owner

On fedora minimal inside podman

$ mkdir /build && cd /build
$ git clone --recurse-submodules https://git.zeromaximum.com/yestax/setup.git
$ rpmbuild --build-in-place --define "_topdir /build/setup" -bb rpm/setup.spec

works fine and build rpms inside the git without archiving

Need:

  • Modify build_workflow.txt in setup_packaging
  • Remove Source0 entry + %setup + %prep
On fedora minimal inside podman $ mkdir /build && cd /build $ git clone --recurse-submodules https://git.zeromaximum.com/yestax/setup.git $ rpmbuild --build-in-place --define "_topdir /build/setup" -bb rpm/setup.spec works fine and build rpms inside the git without archiving Need: - Modify build_workflow.txt in setup_packaging - Remove Source0 entry + %setup + %prep
Author
Owner

will be implemented in #55

will be implemented in #55
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
yestax/setup#52
No description provided.