public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Rollback and use files_to_sync as packit team suggested
@ 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 : 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/.*\///')

^ 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: Rollback and use files_to_sync as packit team suggested 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox