Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 5de8de4a98 | |||
| d8edc0a477 | |||
| 0dddd57f15 | |||
| 3d66bdc0ac |
13
cvsps-min-cmake-3.5.patch
Normal file
13
cvsps-min-cmake-3.5.patch
Normal 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)
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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*/*
|
||||
|
||||
Reference in New Issue
Block a user