diff --git a/change-libimaevm-release-number.patch b/change-libimaevm-release-number.patch deleted file mode 100644 index 9677ada4cb9d45f633591bcadd15e4f2c816420c..0000000000000000000000000000000000000000 --- a/change-libimaevm-release-number.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 28eefc4b05c8733a3e7d220ac70cfe1e3777f714 Mon Sep 17 00:00:00 2001 -From: Anakin Zhang -Date: Thu, 17 Sep 2020 13:38:37 +0800 -Subject: [PATCH] change libimaevm release number - -Signed-off-by: Anakin Zhang ---- - 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 - diff --git a/ima-evm-utils.spec b/ima-evm-utils.spec index 95fffdcd1c258463840b69ff4b7950202a2d829c..053501866c132f95e405814c71bfe53ff1d9bf54 100644 --- a/ima-evm-utils.spec +++ b/ima-evm-utils.spec @@ -1,14 +1,14 @@ Name: ima-evm-utils Version: 1.3.1 -Release: 2 +Release: 3 Summary: IMA/EVM control utilities Group: System/Libraries License: GPLv2 URL: http://linux-ima.sourceforge.net/ 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} %description @@ -45,6 +45,7 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} %make_install +cp %{_libdir}/libimaevm.so.1* %{buildroot}/%{_libdir} %check make check @@ -78,6 +79,9 @@ make check %doc %{_mandir}/*/* %changelog +* Mon Sep 21 2020 openEuler Buildteam - 1.3.1-3 +- provide both libimaevm.so.1 and libimaevm.so.2 + * Thu Sep 17 2020 openEuler Buildteam - 1.3.1-2 - provide libimaevm.so.1