[packages/openpace] up to 1.1.4
atler
atler at pld-linux.org
Tue Apr 28 00:14:50 CEST 2026
commit 019b2c46827ad02d678c0c53ae54f75a8846d538
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Apr 28 00:11:35 2026 +0200
up to 1.1.4
build.patch | 24 ------------------------
openpace.spec | 9 +++++----
python-install.patch | 11 +++++++++++
3 files changed, 16 insertions(+), 28 deletions(-)
---
diff --git a/openpace.spec b/openpace.spec
index 5abdb6a..70dcb35 100644
--- a/openpace.spec
+++ b/openpace.spec
@@ -10,16 +10,16 @@
Summary: Cryptographic library for EAC version 2
Summary(pl.UTF-8): Biblioteka kryptograficzna do EAC v2
Name: openpace
-Version: 1.1.2
-Release: 2
+Version: 1.1.4
+Release: 1
License: GPL v3+
Group: Libraries
#Source0Download: https://github.com/frankmorgner/openpace/releases
Source0: https://github.com/frankmorgner/openpace/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 55f22686b89026fd40f60358cc2247d0
+# Source0-md5: fca6f9ca708e16fe297e40121ca84c5f
Patch0: %{name}-optflags.patch
Patch1: %{name}-ruby.patch
-Patch2: build.patch
+Patch2: python-install.patch
URL: https://frankmorgner.github.io/openpace/
BuildRequires: autoconf >= 2.67
BuildRequires: automake
@@ -32,6 +32,7 @@ BuildRequires: libtool
BuildRequires: openssl-devel >= 1.0.2
BuildRequires: pkgconfig
%{?with_python:BuildRequires: python-devel >= 2}
+%{?with_python:BuildRequires: python-setuptools}
%{?with_ruby:BuildRequires: ruby-devel}
BuildRequires: sphinx-pdg
BuildRequires: swig
diff --git a/build.patch b/build.patch
deleted file mode 100644
index fab5c06..0000000
--- a/build.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- openpace-1.1.2/src/eac.c~ 2021-07-08 13:32:38.000000000 +0200
-+++ openpace-1.1.2/src/eac.c 2021-10-14 22:52:32.824753609 +0200
-@@ -104,8 +104,8 @@
- {
- if (!ctx)
- return 0;
--
-- return BN_zero(ctx->ssc);
-+ BN_zero(ctx->ssc);
-+ return 0;
- }
-
- int EAC_set_ssc(const EAC_CTX *ctx, unsigned long ssc)
---- openpace-1.1.2/src/eac/cv_cert.h~ 2021-07-08 13:32:38.000000000 +0200
-+++ openpace-1.1.2/src/eac/cv_cert.h 2021-10-14 22:55:21.327446475 +0200
-@@ -341,7 +341,7 @@
- * @return Number of bytes successfully encoded or a negative value if an
- * error occured.
- */
--int i2d_CVC_CERT(CVC_CERT *a, unsigned char **out);
-+int i2d_CVC_CERT(const CVC_CERT *a, unsigned char **out);
-
- /**
- * @brief Duplicate a CV certificate
diff --git a/python-install.patch b/python-install.patch
new file mode 100644
index 0000000..0e83d37
--- /dev/null
+++ b/python-install.patch
@@ -0,0 +1,11 @@
+--- openpace-1.1.4/bindings/python/Makefile.am.orig 2026-04-27 21:52:57.201365070 +0200
++++ openpace-1.1.4/bindings/python/Makefile.am 2026-04-28 00:01:38.320370526 +0200
+@@ -45,7 +45,7 @@
+
+ # Androids implementation does not honour --root=$(DESTDIR) so we change the prefix
+ install-exec-local:
+- env CC="$(CC)" $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) --exec-prefix=$(DESTDIR)$(exec_prefix) --record installed_files.txt
++ env CC="$(CC)" $(PYTHON) setup.py install --prefix=$(prefix) --exec-prefix=$(exec_prefix) --root=$(DESTDIR) --record installed_files.txt
+
+ uninstall-local:
+ cat installed_files.txt | xargs rm -rf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openpace.git/commitdiff/966fc94cefab010fdb5ea753c91ad29ade4f0a62
More information about the pld-cvs-commit
mailing list