]> git.pld-linux.org Git - packages/libsecp256k1.git/commitdiff
- updated to 0.1.0.16 snapshot auto/th/libsecp256k1-0.1.0.16-0.20191026.1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 22 Sep 2020 16:19:02 +0000 (18:19 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 22 Sep 2020 16:19:02 +0000 (18:19 +0200)
libsecp256k1.spec

index e91fcc8fea3aeed8ee8db780f8041e547bb61abe..6323c69e89b29cb9dab430c92e88acea54067e37 100644 (file)
@@ -8,15 +8,19 @@
 Summary:       Optimized C library for EC operations on curve secp256k1
 Summary(pl.UTF-8):     Zoptymalizowana biblioteka C do operacji EC na krzywej secp256k1
 Name:          libsecp256k1
-Version:       0.1.0.13
-Release:       2
+Version:       0.1.0.16
+%define        gitref  5a373e416025ae6465b00aea18dd6d69111e54ca
+%define        snap    20191026
+%define        rel     1
+Release:       0.%{snap}.%{rel}
 License:       MIT
 Group:         Libraries
 #Source0Download: https://github.com/libbitcoin/secp256k1/releases
-# TODO: for future releases use:
+# releases
 #Source0:      https://github.com/libbitcoin/secp256k1/archive/v%{version}/secp256k1-%{version}.tar.gz
-Source0:       https://github.com/libbitcoin/secp256k1/archive/v%{version}.tar.gz
-# Source0-md5: bc3132ab3c57273ed826438306e7fccc
+# no tag for 0.1.0.16, use snapshot
+Source0:       https://github.com/libbitcoin/secp256k1/archive/%{gitref}/secp256k1-%{snap}.tar.gz
+# Source0-md5: 692fb5624b5c49bd1648d9cc04d798b9
 URL:           https://libbitcoin.org/
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake
@@ -57,7 +61,7 @@ Static secp256k1 library.
 Statyczna biblioteka secp256k1.
 
 %prep
-%setup -q -n secp256k1-%{version}
+%setup -q -n secp256k1-%{gitref}
 
 %build
 %{__libtoolize}
@@ -101,6 +105,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libsecp256k1.so
 %{_includedir}/secp256k1.h
+%{_includedir}/secp256k1_preallocated.h
 %{_includedir}/secp256k1_recovery.h
 %{_pkgconfigdir}/libsecp256k1.pc
 
This page took 0.069232 seconds and 4 git commands to generate.