add subpacakge of xz-lzma-compat
This commit is contained in:
parent
679352eda9
commit
f1cc82b411
27
xz.spec
27
xz.spec
@ -1,6 +1,6 @@
|
|||||||
Name: xz
|
Name: xz
|
||||||
Version: 5.2.4
|
Version: 5.2.4
|
||||||
Release: 9
|
Release: 10
|
||||||
Summary: A free general-purpose data compreession software with LZMA2 algorithm
|
Summary: A free general-purpose data compreession software with LZMA2 algorithm
|
||||||
License: Public Domain, LGPLv2.1 and GPLv2+
|
License: Public Domain, LGPLv2.1 and GPLv2+
|
||||||
URL: http://tukaani.org/xz
|
URL: http://tukaani.org/xz
|
||||||
@ -23,15 +23,22 @@ The primary compression algorithm is currently LZMA2, which is used inside the .
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Libraries & headers for xz
|
Summary: Libraries & headers for xz
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: lzma = %{version}
|
Provides: xz-static
|
||||||
Provides: xz-static xz-lzma-compat
|
Obsoletes: xz-static
|
||||||
Obsoletes: lzma < %{version}
|
|
||||||
Obsoletes: xz-static xz-lzma-compat
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package mainly includes the following contents: static library,
|
This package mainly includes the following contents: static library,
|
||||||
the header file, example, tests use case, other development and use of content.
|
the header file, example, tests use case, other development and use of content.
|
||||||
|
|
||||||
|
%package lzma-compat
|
||||||
|
Summary: Old LZMA format compatibility binaries
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Provides: lzma = %{version}
|
||||||
|
Obsoletes: lzma < %{version}
|
||||||
|
|
||||||
|
%description lzma-compat
|
||||||
|
This package contains the compatibility binaries for older LZMA.
|
||||||
|
|
||||||
%package libs
|
%package libs
|
||||||
Summary: Libraries for xz
|
Summary: Libraries for xz
|
||||||
Obsoletes: %{name}-compat-libs < %{version}-%{release}
|
Obsoletes: %{name}-compat-libs < %{version}-%{release}
|
||||||
@ -68,7 +75,6 @@ LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
|
|||||||
%doc %{_pkgdocdir}
|
%doc %{_pkgdocdir}
|
||||||
%license %{_pkgdocdir}/COPYING*
|
%license %{_pkgdocdir}/COPYING*
|
||||||
%{_bindir}/*xz*
|
%{_bindir}/*xz*
|
||||||
%{_bindir}/*lz*
|
|
||||||
|
|
||||||
%exclude %_pkgdocdir/examples*
|
%exclude %_pkgdocdir/examples*
|
||||||
%exclude %{_libdir}/*.la
|
%exclude %{_libdir}/*.la
|
||||||
@ -76,6 +82,9 @@ LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
|
|||||||
%files libs
|
%files libs
|
||||||
%{_libdir}/lib*.so.5*
|
%{_libdir}/lib*.so.5*
|
||||||
|
|
||||||
|
%files lzma-compat
|
||||||
|
%{_bindir}/*lz*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%dir %{_includedir}/lzma
|
%dir %{_includedir}/lzma
|
||||||
%doc %_pkgdocdir/examples*
|
%doc %_pkgdocdir/examples*
|
||||||
@ -91,6 +100,12 @@ LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
|
|||||||
%{_mandir}/man1/*xz*
|
%{_mandir}/man1/*xz*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Mar 21 2020 shenyangyang<shenyangyang4@huawei.com> - 5.2.4-10
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:Split xz-lzma-compat subpackage
|
||||||
|
|
||||||
* Mon Feb 24 2020 chengquan<chengquan3@huawei.com> - 5.2.4-9
|
* Mon Feb 24 2020 chengquan<chengquan3@huawei.com> - 5.2.4-9
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user