8
0

2 Commits

2 changed files with 12 additions and 3 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Mar 22 16:07:27 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4
- Add %check section
- Remove Group: declarations, no longer used
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 12 09:34:32 UTC 2023 - Marcus Meissner <meissner@suse.com> Wed Apr 12 09:34:32 UTC 2023 - Marcus Meissner <meissner@suse.com>

View File

@@ -21,10 +21,9 @@ Version: 0.6.3
Release: 0 Release: 0
Summary: C++ Implementation of the SciTokens Library Summary: C++ Implementation of the SciTokens Library
License: Apache-2.0 License: Apache-2.0
Group: Development/Libraries/C and C++
URL: https://github.com/scitokens/scitokens-cpp URL: https://github.com/scitokens/scitokens-cpp
Source0: https://github.com/scitokens/scitokens-cpp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/scitokens/scitokens-cpp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake BuildRequires: cmake >= 3.5
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
@@ -65,12 +64,15 @@ want to delegate trust for an issuer for managing a storage allocation.
%build %build
export CFLAGS="%optflags -Wno-error=deprecated-declarations" export CFLAGS="%optflags -Wno-error=deprecated-declarations"
%{cmake} %{cmake} -DCMAKE_POLICY_VERSION_MINIMUM=3.5
%{cmake_build} %{cmake_build}
%install %install
%{cmake_install} %{cmake_install}
%check
%ctest
%post -n libSciTokens0 -p /sbin/ldconfig %post -n libSciTokens0 -p /sbin/ldconfig
%postun -n libSciTokens0 -p /sbin/ldconfig %postun -n libSciTokens0 -p /sbin/ldconfig