public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/clpeak] epel10.2: Update to 1.1.0, spec cleanups
@ 2026-10-21 19:54 Peter Robinson
  0 siblings, 0 replies; only message in thread
From: Peter Robinson @ 2026-10-21 19:54 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/clpeak
Branch : epel10.2
Commit : bda20a36b6af8169503779b7bded3d3d4f0ce27d
Author : Peter Robinson <pbrobinson@gmail.com>
Date   : 2020-08-04T13:08:58+01:00
Stats  : +22/-25 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/clpeak/c/bda20a36b6af8169503779b7bded3d3d4f0ce27d?branch=epel10.2

Log:
Update to 1.1.0, spec cleanups

---
diff --git a/.gitignore b/.gitignore
index 1a5df76..7e830b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /clpeak-0.1-1f90347.tar.gz
 /clpeak-0.1-7904f26.tar.gz
 /clpeak-0.1-8edab23.tar.gz
+/clpeak-1.1.0.tar.gz

diff --git a/clpeak.spec b/clpeak.spec
index cdb2e2a..7555fe2 100644
--- a/clpeak.spec
+++ b/clpeak.spec
@@ -1,22 +1,17 @@
-%global commit 8edab23fbc867adbada21378d65774c670c2aaf9
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global checkout .20170711git%{shortcommit}
-
-Summary:    Find peak OpenCL capacities like bandwidth & compute
 Name:       clpeak
-Version:    0.1
-Release:    23%{?checkout}%{?dist}
+Version:    1.1.0
+Release:    1%{?checkout}%{?dist}
+Summary:    Find peak OpenCL capacities like bandwidth & compute
 License:    Public Domain
 URL:        https://github.com/krrishnarraj/%{name}
+Source0:    %{url}/archive/%{commit}/%{name}-%{version}.tar.gz
 
-Source0:    %{url}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
-
-BuildRequires:  gcc
-BuildRequires:  gcc-c++
-BuildRequires: cmake >= 2.6
-BuildRequires: opencl-headers
-BuildRequires: ocl-icd-devel
+BuildRequires: cmake
+BuildRequires: gcc
+BuildRequires: gcc-c++
 BuildRequires: mesa-libGL-devel
+BuildRequires: ocl-icd-devel
+BuildRequires: opencl-headers
 
 
 %description
@@ -24,29 +19,30 @@ A tool which profiles OpenCL devices to find their peak capacities like
 bandwidth & compute.
 
 %prep
-%setup -q -n %{name}-%{commit}
+%autosetup
 
 
 %build
-mkdir build
-cd build
-
-%cmake ..
-
-make %{?_smp_mflags}
+%cmake .
+%cmake_build
 
 
 %install
-mkdir -p %{buildroot}/%{_bindir}/
-install -pm0755 build/clpeak %{buildroot}%{_bindir}/
+%cmake_install
+rm -f %{buildroot}/%{_datadir}/clpeak/LICENSE
 
 
 %files
-%doc README.md LICENSE STATUS
+%license LICENSE
+%doc README.md
 %{_bindir}/clpeak
 
 
 %changelog
+* Tue Aug 04 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.1.0-1
+- Update to 1.1.0
+- Package cleanups
+
 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-23.20170711git8edab23
 - Second attempt - Rebuilt for
   https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

diff --git a/sources b/sources
index 5dafb36..804bd0c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (clpeak-0.1-8edab23.tar.gz) = 357138a825f79ce0afcb487598d38dc6382aa4cd84c8220a736b98056f0f364cc6a3aa5834d9dc9b3009fa530e5b71c6ace3c94f39acb63cc2cf72331ef78448
+SHA512 (clpeak-1.1.0.tar.gz) = 748c603397aa7ac3c1e4b5440312123a2e8442f50b8623ed22c277276ea279c69479c9005d6e2d3cf6f5500e25ee7a39ac9c2ea664c6041dd908e8d947f879f3

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

only message in thread, other threads:[~2026-10-21 19:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-21 19:54 [rpms/clpeak] epel10.2: Update to 1.1.0, spec cleanups Peter Robinson

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