diff --git a/.gitignore b/.gitignore index 5ee070e..c30074d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ crypt-1.17.tar.bz2 /libtomcrypt-ab8c5b8.tar.gz /libtomcrypt-32d60ac.tar.gz /libtomcrypt-0ceb1c1.tar.gz +/libtomcrypt-1.18.0.tar.gz diff --git a/libtomcrypt.spec b/libtomcrypt.spec index f44aae9..2164d84 100644 --- a/libtomcrypt.spec +++ b/libtomcrypt.spec @@ -1,17 +1,11 @@ -# Post rc3 from the 1.18 release branch: -# https://github.com/libtom/libtomcrypt/tree/release/1.18.0 -%global commit0 0ceb1c1213afea1ef96f23d9791a245fe8f4e04e -%global date 20170915 -%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) - Name: libtomcrypt -Version: 1.18 -Release: 2%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist} +Version: 1.18.0 +Release: 1%{?dist} Summary: A comprehensive, portable cryptographic toolkit License: Public Domain or WTFPL URL: http://www.libtom.net/ -Source0: https://github.com/libtom/%{name}/archive/%{commit0}/%{name}-%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz +Source0: https://github.com/libtom/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: ghostscript BuildRequires: libtommath-devel >= 1.0 @@ -53,7 +47,7 @@ Obsoletes: %{name}-doc < 1.17-19 The %{name}-doc package contains documentation for use with %{name}. %prep -%setup -qn %{name}-%{commit0} +%setup -q %build export PREFIX="%{_prefix}" @@ -99,6 +93,9 @@ sed -i \ %doc doc/crypt.pdf %changelog +* Mon Oct 23 2017 Simone Caronni - 1.18.0-1 +- Update to final 1.18.0. + * Sun Sep 17 2017 Simone Caronni - 1.18-2.20170915git0ceb1c1 - Update to latest snapshot post rc3. - Remove RHEL 6 support. diff --git a/sources b/sources index 56af8e6..acecba0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libtomcrypt-0ceb1c1.tar.gz) = dc80ea69789c7c0b5e88e1c5fc784e4a779748a8653fddc6ce676bc9710ad51da99ead3e7010029c28178372488fa6340813a22b845a38cb1a5feab5f3f7a28d +SHA512 (libtomcrypt-1.18.0.tar.gz) = 1ca692db7cd2784d4bae65a650e4a6067d2eee4d53c98c9d3fff0b169485e51a408f7de2bb42056c49fa3e6a3482fc1eb2f33d2781219f4adc46b3919c4bd82d