Update to 41a3a29; move snapshot info from release to version

This commit is contained in:
Benjamin A. Beasley 2022-02-26 14:02:25 -05:00
parent 83cfddeebe
commit 95f33e0476
3 changed files with 12 additions and 10 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/cmake-8e2a2bfc3361f76dbdcb75e876fc42149c382d85.tar.gz
/cmake-7a35d94e15221c2db050668c5549e730a26be01f.tar.gz
/cmake-9416f297430bc358eea48f8cf65aa0d602029629.tar.gz
/cmake-41a3a293f708566bf8cc2196ea2e671205821584.tar.gz

View File

@ -1,20 +1,20 @@
%global forgeurl https://github.com/biojppm/cmake/
%global commit 9416f297430bc358eea48f8cf65aa0d602029629
%global commit 41a3a293f708566bf8cc2196ea2e671205821584
%global snapdate 20220226
%global shortcommit %(echo '%{commit}' | cut -b -7)
Name: c4project
Summary: Useful CMake scripts
# This project has never been assigned a version. The author really intends it
# for use as a git submodule rather than for system-wide installation.
Version: 0
%forgemeta
# Note that snapshot information is added by %%forgemeta.
Version: 0^%{snapdate}git%{shortcommit}
Release: %autorelease
URL: %{forgeurl}
URL: https://github.com/biojppm/cmake
# The entire source is MIT, except Toolchain-PS4.cmake and
# Toolchain-XBoxOne.cmake, which are ASL 2.0.
License: MIT and ASL 2.0
Source0: %{forgesource}
Source0: %{url}/archive/%{commit}/cmake-%{commit}.tar.gz
BuildArch: noarch
@ -28,7 +28,7 @@ Requires: git-core
%prep
%forgeautosetup
%autosetup -n cmake-%{commit}
# For now, we elect not to install the “bm-xp” browser-based benchmark explorer
# tool. It would be inconvenient to package this in a way that was useful in
@ -42,7 +42,8 @@ rm -rvf 'bm-xp'
%install
install -t %{buildroot}%{_datadir}/cmake/%{name} -D -p -m 0644 *
install -d '%{buildroot}%{_datadir}/cmake/%{name}'
cp -vrp * '%{buildroot}%{_datadir}/cmake/%{name}'
%check

View File

@ -1 +1 @@
SHA512 (cmake-9416f297430bc358eea48f8cf65aa0d602029629.tar.gz) = d150a5f2944baeba1f9f2af55b091f00ecb1248bc337ae43acf9ec361e0d89dbbf6764468cb0f2464b70078f38a4b3c53059c5944a6d5a206801d9749bc16c6c
SHA512 (cmake-41a3a293f708566bf8cc2196ea2e671205821584.tar.gz) = 9ea476f0df21cda30db9ca3abe50fcc661b7b3f18a1c906510aaaa109dd3294e8b04b4138adcd33fa6e21ab3e51d5bc0f1a220bfc3cb9c80c010302a4c945f93