public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Updated opencv-samples-Makefile (Thanks Scott Tsai) #553697
@ 2026-08-28 13:29 Rakesh Pandit
  0 siblings, 0 replies; only message in thread
From: Rakesh Pandit @ 2026-08-28 13:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : fa96201c32ec7d251d9f9e3c9512877886afc653
Author : Rakesh Pandit <rakesh@fedoraproject.org>
Date   : 2010-01-08T22:03:27+00:00
Stats  : +11/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/fa96201c32ec7d251d9f9e3c9512877886afc653?branch=opencv5

Log:
Updated opencv-samples-Makefile (Thanks Scott Tsai) #553697

---
diff --git a/opencv-samples-Makefile b/opencv-samples-Makefile
index 6c69149..bd4dc6d 100644
--- a/opencv-samples-Makefile
+++ b/opencv-samples-Makefile
@@ -1,4 +1,10 @@
 CFLAGS := `pkg-config --cflags opencv` $(CFLAGS)
+CXXFLAGS := `pkg-config --cflags opencv` $(CXXFLAGS)
 LDFLAGS := `pkg-config --libs opencv` $(LDFLAGS)
 
-all: $(patsubst %.c,%,$(wildcard *.c))
+PROGRAMS := $(patsubst %.c,%,$(wildcard *.c)) $(patsubst %.cpp,%,$(wildcard *.cpp))
+
+.PHONY: all clean
+all: $(PROGRAMS)
+clean:
+	rm -f $(PROGRAMS)

diff --git a/opencv.spec b/opencv.spec
index d0f2485..51a9e0e 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -4,7 +4,7 @@
 
 Name:           opencv
 Version:        2.0.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Collection of algorithms for computer vision
 
 Group:          Development/Libraries
@@ -155,6 +155,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Jan 09 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 2.0.0-4
+- Updated opencv-samples-Makefile (Thanks Scott Tsai) #553697
+
 * Wed Jan 06 2010 Karel Klic <kklic@redhat.com> - 2.0.0-3
 - Fixed spec file issues detected by rpmlint
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-28 13:29 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:29 [rpms/opencv] opencv5: Updated opencv-samples-Makefile (Thanks Scott Tsai) #553697 Rakesh Pandit

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