Packaging: containerised CI, Flatpak/AppImage, bundled simd, licence notices, and release-please (#53)
This commit is contained in:
@@ -15,14 +15,21 @@ Requires: pulseaudio-libs argtable libconfig hidapi libserialport libuv libxdg-b
|
||||
%description
|
||||
A device manager for Racing sims
|
||||
|
||||
# Builds whatever tree has been staged at %{_sourcedir}/monocoque, cloning it
|
||||
# from upstream master only if nothing is staged. The unconditional clone this
|
||||
# replaced meant an rpm's contents tracked master rather than the tag being
|
||||
# built -- so a fix on the branch being released was absent from its own
|
||||
# release. CI stages the checked-out tree; a bare `rpmbuild -ba` on a
|
||||
# workstation still works exactly as before.
|
||||
%prep
|
||||
rm -rf $RPM_BUILD_DIR/monocoque
|
||||
rm -rf $RPM_SOURCE_DIR/monocoque
|
||||
cd $RPM_SOURCE_DIR
|
||||
git clone https://github.com/spacefreak18/monocoque
|
||||
cd monocoque
|
||||
git submodule update --init --recursive
|
||||
cd ..
|
||||
if [ ! -d $RPM_SOURCE_DIR/monocoque ]; then
|
||||
cd $RPM_SOURCE_DIR
|
||||
git clone https://github.com/spacefreak18/monocoque
|
||||
cd monocoque
|
||||
git submodule update --init --recursive
|
||||
cd ..
|
||||
fi
|
||||
cp -r $RPM_SOURCE_DIR/monocoque $RPM_BUILD_DIR/
|
||||
|
||||
%build
|
||||
|
||||
Reference in New Issue
Block a user