!13 provide both libimaevm.so.1 and libimaevm.so.2
From: @nettingsisyphus Reviewed-by: @zhujianwei001 Signed-off-by: @zhujianwei001
This commit is contained in:
commit
7ff7c48378
@ -1,26 +0,0 @@
|
|||||||
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
|
|
||||||
|
|
||||||
@ -1,14 +1,14 @@
|
|||||||
Name: ima-evm-utils
|
Name: ima-evm-utils
|
||||||
Version: 1.3.1
|
Version: 1.3.1
|
||||||
Release: 2
|
Release: 3
|
||||||
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
|
||||||
|
BuildRequires: keyutils-libs-devel git ima-evm-utils
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -45,6 +45,7 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
%make_install
|
%make_install
|
||||||
|
cp %{_libdir}/libimaevm.so.1* %{buildroot}/%{_libdir}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
@ -78,6 +79,9 @@ make check
|
|||||||
%doc %{_mandir}/*/*
|
%doc %{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.3.1-3
|
||||||
|
- provide both libimaevm.so.1 and libimaevm.so.2
|
||||||
|
|
||||||
* Thu Sep 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.3.1-2
|
* Thu Sep 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.3.1-2
|
||||||
- provide libimaevm.so.1
|
- provide libimaevm.so.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user