public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Rollback and use files_to_sync as packit team suggested
Date: Fri, 28 Aug 2026 13:32:53 GMT	[thread overview]
Message-ID: <178792397341.1.2090571647992286627.rpms-opencv-08442e3b732d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : 08442e3b732d8268977545e5d5b88f8ab745f0eb
Author : Sérgio M. Basto <sergio@serjux.com>
Date   : 2025-01-09T14:39:59+00:00
Stats  : +8/-4 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/08442e3b732d8268977545e5d5b88f8ab745f0eb?branch=opencv5

Log:
Rollback and use files_to_sync as packit team suggested

---
diff --git a/.packit.yaml b/.packit.yaml
index 1c85005..85e1cb2 100644
--- a/.packit.yaml
+++ b/.packit.yaml
@@ -4,9 +4,13 @@
 # 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:
-  create-archive:
-    - bash -c "cd ${PACKIT_DOWNSTREAM_REPO}; ./opencv-clean.sh ${PACKIT_PROJECT_VERSION}"
-    - bash -c "ls -1 ./opencv*clean-${PACKIT_PROJECT_VERSION}.tar.gz"
+  pre-sync:
+    - bash -c "${PACKIT_DOWNSTREAM_REPO}/opencv-clean.sh ${PACKIT_PROJECT_VERSION}"
+
+files_to_sync:
+  - src:
+    - "opencv*clean-*.tar.gz"
+    dest: .
 
 jobs:
   - job: pull_from_upstream

diff --git a/opencv-clean.sh b/opencv-clean.sh
index a8ebfca..4c44f46 100755
--- a/opencv-clean.sh
+++ b/opencv-clean.sh
@@ -31,4 +31,4 @@ tar zcf opencv_extra-clean-${VERSION}.tar.gz opencv_extra-${VERSION}/
 rm -r opencv_extra-${VERSION}/
 
 
-echo fedpkg new-sources $(spectool -l --sources opencv.spec | sed 's/.*: //;s/.*\///')
+#echo fedpkg new-sources $(spectool -l --sources opencv.spec | sed 's/.*: //;s/.*\///')

                 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=178792397341.1.2090571647992286627.rpms-opencv-08442e3b732d@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