diff --git a/.gitignore b/.gitignore index 02f6758..964cbad 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1 @@ -/afflib-3.5.12.tar.gz -/afflib-3.6.4.tar.gz -/afflib-3.6.6.tar.gz -/afflib-3.6.8.tar.gz -/afflib-3.6.15.tar.gz -/v3.7.3.tar.gz -/v3.7.4.tar.gz -/afflib-3.7.15.tar.gz -/afflib-3.7.16.tar.gz -/afflib-3.7.18.tar.gz -/afflib-3.7.19.tar.gz -/afflib-3.7.20.tar.gz +afflib-*.tar.gz diff --git a/afflib.spec b/afflib.spec index 66cbc23..f8ba085 100644 --- a/afflib.spec +++ b/afflib.spec @@ -1,3 +1,6 @@ +%global commit0 01210f488410a23838c54fcc22297cf08ac7de66 +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) + Name: afflib Version: 3.7.20 Release: %autorelease @@ -11,8 +14,8 @@ Summary: Library to support the Advanced Forensic Format License: BSD with advertising URL: https://github.com/sshock/AFFLIBv3 -Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz -Patch0: Fix-build-with-gcc-14-Wincompatible-pointer-types.patch +#Source0: %%{url}/archive/v%%{version}/%%{name}-%%{version}.tar.gz +Source0: %{url}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz BuildRequires: gcc-c++ BuildRequires: libtool @@ -109,7 +112,7 @@ basic metadata accessor functions. The binding is not currently complete. %prep -%autosetup -p1 -n AFFLIBv3-%{version} +%autosetup -p1 -n AFFLIBv3-%{commit0} # prevent internal lzma to be built - testing #rm -rf lzma443 diff --git a/sources b/sources index 7e4b057..351beb7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (afflib-3.7.20.tar.gz) = 1ac623cb8462fc929a8ad1c014e92d319a3ebf5226ef07aa0777e4cbb77a9ee20adf570f39c960c9186ac2a477e861dfd5565d3364fdff22f9870f8c9ab30479 +SHA512 (afflib-01210f4.tar.gz) = de5932871e57e8702016011431540429d3820d868e0d810a3a4a35e50148708b350dfd4268855ee2eb71504cbab811c960339b6f68e90ed89401a86866efe4e4