Example for using a submodule

This commit is contained in:
Adrian Schröter 2024-02-13 14:07:00 +01:00
parent 339dcbf793
commit 7c292e7b50
6 changed files with 19 additions and 1 deletions

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
*.changes merge=merge-changes

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
orangebox.tar.xz

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "orangebox"]
path = orangebox
url = https://github.com/atomgomba/orangebox

11
_service Normal file
View File

@ -0,0 +1,11 @@
<services>
<service name="tar" mode="buildtime">
<param name="filename">orangebox</param>
<param name="version">_none_</param>
</service>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
</services>

1
orangebox Submodule

@ -0,0 +1 @@
Subproject commit f98ecd6d36190724cd361f420ad7866705a77a68

View File

@ -26,7 +26,7 @@ Summary: Betaflight blackbox flight recorder parser
License: GPL-3.0-or-later
Group: Development/Languages/Python
URL: https://github.com/atomgomba/orangebox
#!RemoteAssetUrl: git+https://github.com/atomgomba/orangebox#v0.2.0
Source: orangebox-%version.tar.xz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}