public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Try to fix packit automation
@ 2026-08-28 13:32
0 siblings, 0 replies; only message in thread
From: @ 2026-08-28 13:32 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : cdde9111a945c99823664d8e05506157109d669a
Author : Sérgio M. Basto <sergio@serjux.com>
Date : 2025-01-09T00:10:16+00:00
Stats : +2/-5 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/cdde9111a945c99823664d8e05506157109d669a?branch=opencv5
Log:
Try to fix packit automation
---
diff --git a/.packit.yaml b/.packit.yaml
index 53d233b..77d916c 100644
--- a/.packit.yaml
+++ b/.packit.yaml
@@ -1,17 +1,14 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/
-upstream_project_url: https://github.com/opencv/opencv
-
# run opencv-clean.sh
# the sed currently hacks the script so that the version is correctly set and the sources upload is handled by Packit
actions:
pre-sync:
- - bash -c "cd ${PACKIT_DOWNSTREAM_REPO}; sed '3d;$d' ./opencv-clean.sh | VERSION=${PACKIT_PROJECT_VERSION} bash"
+ - bash -c "cd ${PACKIT_DOWNSTREAM_REPO}; ./opencv-clean.sh ${PACKIT_PROJECT_VERSION}"
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-rawhide
-
diff --git a/opencv-clean.sh b/opencv-clean.sh
index df36b0c..a8ebfca 100755
--- a/opencv-clean.sh
+++ b/opencv-clean.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-VERSION=4.9.0
+VERSION=$1
wget -c https://github.com/opencv/opencv/archive/${VERSION}/opencv-${VERSION}.tar.gz
wget -c https://github.com/opencv/opencv_contrib/archive/${VERSION}/opencv_contrib-${VERSION}.tar.gz
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-28 13:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28 13:32 [rpms/opencv] opencv5: Try to fix packit automation
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox