4 Commits

Author SHA256 Message Date
5de8de4a98 Accepting request 1294097 from devel:tools:scm
- Add cvsps-min-cmake-3.5.patch: Allow building with cmake 4.5. The
  patch declared cmake 3.5 as minimum, which is acceptable, as
  CMake 3.5 was released in 2016. (forwarded request 1293807 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1294097
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvsps?expand=0&rev=26
2025-07-18 13:57:38 +00:00
d8edc0a477 - Add cvsps-min-cmake-3.5.patch: Allow building with cmake 4.5. The
patch declared cmake 3.5 as minimum, which is acceptable, as
  CMake 3.5 was released in 2016.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/cvsps?expand=0&rev=24
2025-07-17 10:15:26 +00:00
0dddd57f15 Accepting request 1277655 from devel:tools:scm
OBS-URL: https://build.opensuse.org/request/show/1277655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvsps?expand=0&rev=25
2025-05-23 12:29:19 +00:00
3d66bdc0ac Use %make_build instead of %jobs (boo#1237231)
- Mark COPYING file as %license

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/cvsps?expand=0&rev=22
2025-05-15 08:48:30 +00:00
3 changed files with 32 additions and 3 deletions

13
cvsps-min-cmake-3.5.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: cvsps-2.1/CMakeLists.txt
===================================================================
--- cvsps-2.1.orig/CMakeLists.txt
+++ cvsps-2.1/CMakeLists.txt
@@ -1,6 +1,8 @@
#cmake support for cvsps
# author: Cristian Rodriguez crrodriguez@suse.de
+cmake_minimum_required(VERSION 3.5)
+
PROJECT(cvsps C)
SET(CVSPS_VERSION_MAJOR 2)
SET(CVSPS_VERSION_MINOR 1)

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Jul 16 12:39:34 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Add cvsps-min-cmake-3.5.patch: Allow building with cmake 4.5. The
patch declared cmake 3.5 as minimum, which is acceptable, as
CMake 3.5 was released in 2016.
-------------------------------------------------------------------
Wed May 14 14:49:34 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- Use %make_build instead of %jobs (boo#1237231)
- Mark COPYING file as %license
-------------------------------------------------------------------
Mon Feb 26 11:07:46 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package cvsps
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -34,6 +34,7 @@ Source4: CMakeLists.txt
Obsoletes: cvsps2 <= %{version}
Provides: cvsps2 = %{version}
Patch0: commitid.diff
Patch1: cvsps-min-cmake-3.5.patch
URL: http://www.cobite.com/cvsps/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -54,11 +55,12 @@ for patch in $(cat fixes/series); do
done
cp %{SOURCE1} %{SOURCE2} %{SOURCE4} .
%patch -P 0 -p1
%patch -P 1 -p1
%build
export CFLAGS="%{optflags}"
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_VERBOSE_MAKEFILE=TRUE .
%{__make} %{?jobs:-j%jobs}
%make_build
%install
%makeinstall
@@ -68,7 +70,8 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README CHANGELOG COPYING
%license COPYING
%doc README CHANGELOG
%doc bk-cvs.mail cvsps-bk-cvs.mail
%{_bindir}/cvsps
%{_mandir}/man*/*