add libimaevm.so.1

This commit is contained in:
Anakin Zhang 2020-09-17 21:30:19 +08:00
parent c970286715
commit bd8eaf0a7e
2 changed files with 32 additions and 2 deletions

View File

@ -0,0 +1,26 @@
From 28eefc4b05c8733a3e7d220ac70cfe1e3777f714 Mon Sep 17 00:00:00 2001
From: Anakin Zhang <benjamin93@163.com>
Date: Thu, 17 Sep 2020 13:38:37 +0800
Subject: [PATCH] change libimaevm release number
Signed-off-by: Anakin Zhang <benjamin93@163.com>
---
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index d6c779f..ba9719b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,7 +4,7 @@ libimaevm_la_SOURCES = libimaevm.c
libimaevm_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBCRYPTO_CFLAGS)
# current[:revision[:age]]
# result: [current-age].age.revision
-libimaevm_la_LDFLAGS = -version-info 2:0:0
+libimaevm_la_LDFLAGS = -version-info 1:0:0
libimaevm_la_LIBADD = $(LIBCRYPTO_LIBS)
include_HEADERS = imaevm.h
--
2.23.0

View File

@ -1,11 +1,12 @@
Name: ima-evm-utils Name: ima-evm-utils
Version: 1.3.1 Version: 1.3.1
Release: 1 Release: 2
Summary: IMA/EVM control utilities Summary: IMA/EVM control utilities
Group: System/Libraries Group: System/Libraries
License: GPLv2 License: GPLv2
URL: http://linux-ima.sourceforge.net/ URL: http://linux-ima.sourceforge.net/
Source0: http://sourceforge.net/projects/linux-ima/files/ima-evm-utils/%{name}-%{version}.tar.gz Source0: http://sourceforge.net/projects/linux-ima/files/ima-evm-utils/%{name}-%{version}.tar.gz
Patch0: change-libimaevm-release-number.patch
BuildRequires: autoconf automake libtool m4 asciidoc libxslt openssl-devel keyutils-libs-devel git BuildRequires: autoconf automake libtool m4 asciidoc libxslt openssl-devel keyutils-libs-devel git
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
@ -16,7 +17,7 @@ and verifying digital signatures, which are used by Linux kernel integrity subsy
It can be also used to import keys into the kernel keyring. It can be also used to import keys into the kernel keyring.
%package libs %package libs
Summary: shared library for IMA/EVM Summary: shared library for IMA/EVM
%description libs %description libs
This package provides shared library for IMA/EVM. This package provides shared library for IMA/EVM.
@ -77,6 +78,9 @@ make check
%doc %{_mandir}/*/* %doc %{_mandir}/*/*
%changelog %changelog
* Thu Sep 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.3.1-2
- provide libimaevm.so.1
* Wed Aug 19 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.3.1-1 * Wed Aug 19 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.3.1-1
- update to 1.3.1 - update to 1.3.1