let side-tag = "f32-ocaml"
#let koji = "koji"
let koji = "koji -p riscv64"
+#let fedpkg = "fedpkg"
+let fedpkg = "fedpkg --user-config %HOME/d/fedora-ocaml-rebuild/fedpkg-user-config"
# The magic string that must appear in %changelog when the
# package has been rebuilt.
goal rebuild (pkg) =
*built-in-koji ("%pkg") : source-dependencies (pkg) {
cd %fedora-dir/%pkg/%branch
+ fedpkg=%fedpkg
koji=%koji
specfile=%pkg.spec
else
rpmdev-bumpspec -c "- Bump release and rebuild." *.spec
fi
- fedpkg commit -c
- fedpkg push
- if [ "$koji" = "koji" ]; then
- fedpkg build
- else
- hash=$(git rev-parse HEAD)
- $koji build "git+https://src.fedoraproject.org/rpms/"%pkg".git#$hash" %side-tag
- fi
- exit 1
+ $fedpkg commit -c
+ $fedpkg push
+ $fedpkg build
}
# Get the source package names for a particular package.