!2 ima-evm-utils: clean code
Merge pull request !2 from guoxiaoqi/local
This commit is contained in:
commit
831bcb79e4
@ -1,12 +1,12 @@
|
|||||||
Name: ima-evm-utils
|
Name: ima-evm-utils
|
||||||
Version: 1.2.1
|
Version: 1.2.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: IMA/EVM control utilities
|
Summary: IMA/EVM control utilities
|
||||||
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
|
||||||
|
|
||||||
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 ima-evm-utils
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ima-evm-utils package provides the evmctl utility that can be used for producing
|
ima-evm-utils package provides the evmctl utility that can be used for producing
|
||||||
@ -23,6 +23,16 @@ This package provides the header files for %{name}
|
|||||||
|
|
||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
|
%package -n libimaevm0
|
||||||
|
Summary: provide libimaevm0
|
||||||
|
%description -n libimaevm0
|
||||||
|
This package provides old libimaevm.so
|
||||||
|
|
||||||
|
%package -n libimaevm1
|
||||||
|
Summary: provide libimaevm1
|
||||||
|
%description -n libimaevm1
|
||||||
|
This package provides libimaevm.so
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1 -Sgit
|
%autosetup -n %{name}-%{version} -p1 -Sgit
|
||||||
|
|
||||||
@ -34,6 +44,7 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
cp -a %{_libdir}/libimaevm.so.* %{buildroot}%{_libdir}
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -52,7 +63,6 @@ make check
|
|||||||
%doc ChangeLog README
|
%doc ChangeLog README
|
||||||
%license COPYING AUTHORS
|
%license COPYING AUTHORS
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_libdir}/*.so.*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_docdir}/%{name}/*.sh
|
%{_docdir}/%{name}/*.sh
|
||||||
@ -61,10 +71,22 @@ make check
|
|||||||
%{_libdir}/libimaevm.a
|
%{_libdir}/libimaevm.a
|
||||||
%{_libdir}/libimaevm.la
|
%{_libdir}/libimaevm.la
|
||||||
|
|
||||||
|
%files -n libimaevm0
|
||||||
|
%{_libdir}/*.so.0*
|
||||||
|
|
||||||
|
%files -n libimaevm1
|
||||||
|
%{_libdir}/*.so.1*
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc %{_mandir}/*/*
|
%doc %{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 13 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-2
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: clean code
|
||||||
|
|
||||||
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-1
|
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-1
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user