public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Try to fix packit automation
Date: Fri, 28 Aug 2026 13:32:51 GMT	[thread overview]
Message-ID: <178792397158.1.11534041608467093662.rpms-opencv-cdde9111a945@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-08-28 13:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178792397158.1.11534041608467093662.rpms-opencv-cdde9111a945@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox