Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| ad45802e59 | |||
| 1badbc0b83 |
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 22 14:42:57 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
|
||||||
|
|
||||||
|
- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4
|
||||||
|
- Add %check section
|
||||||
|
- Remove Group: declaration, no longer used
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 26 13:35:17 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
Mon Feb 26 13:35:17 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ Version: 3.2
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: A high level imperative/OO programming language
|
Summary: A high level imperative/OO programming language
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Other
|
|
||||||
URL: https://squirrel-lang.org/
|
URL: https://squirrel-lang.org/
|
||||||
Source: https://downloads.sourceforge.net/squirrel/squirrel_%{tarver}_stable.tar.gz
|
Source: https://downloads.sourceforge.net/squirrel/squirrel_%{tarver}_stable.tar.gz
|
||||||
Source1: squirrel-config.cmake.in
|
Source1: squirrel-config.cmake.in
|
||||||
@@ -39,7 +38,7 @@ Source11: squirrel.rpmlintrc
|
|||||||
Patch1: c++11.patch
|
Patch1: c++11.patch
|
||||||
# Generated from S:10 in %%prep, so update that if patch no longer applies
|
# Generated from S:10 in %%prep, so update that if patch no longer applies
|
||||||
Patch10: sover.patch
|
Patch10: sover.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake >= 3.5
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: sed
|
BuildRequires: sed
|
||||||
|
|
||||||
@@ -89,7 +88,8 @@ cp %SOURCE1 .
|
|||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
-DDISABLE_STATIC=1 \
|
-DDISABLE_STATIC=1 \
|
||||||
-DLONG_OUTPUT_NAMES=1
|
-DLONG_OUTPUT_NAMES=1 \
|
||||||
|
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@@ -99,6 +99,9 @@ make %{?_smp_mflags}
|
|||||||
ln -s /usr/bin/squirrel3 %{buildroot}%{_bindir}/sqrl
|
ln -s /usr/bin/squirrel3 %{buildroot}%{_bindir}/sqrl
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%check
|
||||||
|
%ctest
|
||||||
|
|
||||||
%post -n libsquirrel%{sover} -p /sbin/ldconfig
|
%post -n libsquirrel%{sover} -p /sbin/ldconfig
|
||||||
%postun -n libsquirrel%{sover} -p /sbin/ldconfig
|
%postun -n libsquirrel%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user