!8 升级版本到22.00,修改头文件路径,去除版本号

From: @laotan2 
Reviewed-by: @licihua 
Signed-off-by: @licihua
This commit is contained in:
openeuler-ci-bot 2022-08-04 06:10:01 +00:00 committed by Gitee
commit f86ea60afe
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 15 additions and 7 deletions

View File

@ -1,11 +1,11 @@
Name: LZMA-SDK Name: LZMA-SDK
Version: 21.07 Version: 22.00
Release: 1 Release: 2
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/lzma2107.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
@ -30,7 +30,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Development headers for %{name}. Development headers for %{name}.
%prep %prep
%setup -q -c -n lzma2107 %setup -q -c -n lzma2200
%define debug_package %{nil} %define debug_package %{nil}
for f in .c .cpp .cs .dsp .dsw .h .java .txt makefile; do for f in .c .cpp .cs .dsp .dsw .h .java .txt makefile; do
@ -73,19 +73,27 @@ make -f makefile.gcc clean all CXX="g++ %{optflags} -fPIC" CXX_C="gcc %{optflags
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}
mkdir -p %{buildroot}/%{_includedir}/lzma2107/ mkdir -p %{buildroot}/%{_includedir}/lzma/
find -iname '*.h' | xargs -I {} install -m 0755 -D {} %{buildroot}/%{_includedir}/lzma2107/{} find -iname '*.h' | xargs -I {} install -m 0755 -D {} %{buildroot}/%{_includedir}/lzma/{}
%files %files
%{_bindir}/* %{_bindir}/*
%files devel %files devel
%{_includedir}/lzma2107/ %{_includedir}/lzma/
%files doc %files doc
%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
* Wed Aug 03 2022 tanjinghui1 <tanjinghui1@huawei.com> - 22.00-2
- change header file path lzma2200 to lzma
* Thu Jul 14 2022 tanjinghui1 <tanjinghui1@huawei.com> - 22.00-1
- upgrade to 22.00
* Fri May 27 2022 tanjinghui1 <tanjinghui1@h-partners.com> - 21.07-1 * Fri May 27 2022 tanjinghui1 <tanjinghui1@h-partners.com> - 21.07-1
- upgrade to 21.07
* Fri Dec 4 2020 tangmeng5 <tangmeng5@huawei.com> - 19.00-1 * Fri Dec 4 2020 tangmeng5 <tangmeng5@huawei.com> - 19.00-1
- package init - package init

Binary file not shown.

BIN
lzma2200.7z Normal file

Binary file not shown.