Skip to content

Commit

Permalink
Merge pull request #284 from tacerus/clarify-scm-srcrpm
Browse files Browse the repository at this point in the history
Clarify use of SCM sources
  • Loading branch information
adrianschroeter committed May 22, 2023
2 parents 82ae8f3 + d2b2dd0 commit 1df65a1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions xml/obs_best_practice_integrate_scm_sources.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,10 @@
Tar balls are not a requirement by &obsa;, but by the packaging tool, for example, rpmbuild. However,
you may want to decide not to ship a tar ball inside of the src.rpm. This makes sense for
large sources where the compression time and needed disk space is just considered a waste
for short living builds. You can simplify your _service file in that case, but you need to help rpmbuild to work directly in the source.
It is also a good practice to package the _service file instead of the tar ball to
for short living builds and where full source packages are not a requirement.
You can simplify your _service file in that case, but you need to help rpmbuild to work directly in the source.
Since RPM will not include the OBS provided SCM sources in the src.rpm,
it is also a good practice to package the _service file instead of the tar ball to
give the user a chance to rebuild the src.rpm as long the external SCM server is
providing the sources. The simplified _service file looks like this:
</para>
Expand Down

0 comments on commit 1df65a1

Please sign in to comment.