!14 [sync] PR-11: reslove the conflict between xz-lzma-compat and LZMA-SDK

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2023-05-31 09:28:58 +00:00 committed by Gitee
commit b8b6655567
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,12 +1,13 @@
Name: LZMA-SDK Name: LZMA-SDK
Version: 22.00 Version: 22.00
Release: 2 Release: 3
Summary: SDK for lzma compression Summary: SDK for lzma compression
License: Public Domain License: Public Domain
URL: http://sourceforge.net/projects/sevenzip/ URL: http://sourceforge.net/projects/sevenzip/
Source0: https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/lzma2200.7z Source0: https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/lzma2200.7z
BuildRequires: gcc-c++ p7zip BuildRequires: gcc-c++ p7zip
%description %description
The LZMA SDK provides the documentation, samples, header files, libraries, and The LZMA SDK provides the documentation, samples, header files, libraries, and
tools you need to develop applications that use LZMA compression. tools you need to develop applications that use LZMA compression.
@ -72,7 +73,7 @@ make -f makefile.gcc clean all CXX="g++ %{optflags} -fPIC" CXX_C="gcc %{optflags
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_bindir}
install -m 0755 CPP/7zip/Bundles/LzmaCon/_o/lzma %{buildroot}%{_bindir} install -m 0755 CPP/7zip/Bundles/LzmaCon/_o/lzma %{buildroot}%{_bindir}/LZMA-SDK
mkdir -p %{buildroot}/%{_includedir}/lzma/ mkdir -p %{buildroot}/%{_includedir}/lzma/
find -iname '*.h' | xargs -I {} install -m 0755 -D {} %{buildroot}/%{_includedir}/lzma/{} find -iname '*.h' | xargs -I {} install -m 0755 -D {} %{buildroot}/%{_includedir}/lzma/{}
@ -86,6 +87,9 @@ find -iname '*.h' | xargs -I {} install -m 0755 -D {} %{buildroot}/%{_includedir
%doc DOC/7z*.txt DOC/Methods.txt DOC/lzma.txt DOC/lzma-history.txt %doc DOC/7z*.txt DOC/Methods.txt DOC/lzma.txt DOC/lzma-history.txt
%changelog %changelog
* Mon Mar 06 2023 peijiankang <peijiankang@kylinos.cn> - 22.00-3
- reslove the conflict between xz-lzma-compat and LZMA-SDK
* Wed Aug 03 2022 tanjinghui1 <tanjinghui1@huawei.com> - 22.00-2 * Wed Aug 03 2022 tanjinghui1 <tanjinghui1@huawei.com> - 22.00-2
- change header file path lzma2200 to lzma - change header file path lzma2200 to lzma