mirror of
https://abf.rosa.ru/djam/bzip2.git
synced 2025-02-23 10:52:54 +00:00
Add provides for symlinks
Add provides which can satisfy deps by RPM AutoReq on binaries built on Debian
This commit is contained in:
parent
0147829931
commit
c6d1879e5c
1 changed files with 9 additions and 2 deletions
11
bzip2.spec
11
bzip2.spec
|
@ -7,7 +7,7 @@
|
|||
Summary: Extremely powerful file compression utility
|
||||
Name: bzip2
|
||||
Version: 1.0.8
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: BSD
|
||||
Group: Archiving/Compression
|
||||
Url: http://www.bzip.org/index.html
|
||||
|
@ -50,6 +50,12 @@ but they are not identical.
|
|||
%package -n %{libname}
|
||||
Summary: Libraries for developing apps which will use bzip2
|
||||
Group: System/Libraries
|
||||
# manual provides for symlinks
|
||||
# because soname is different on Debian/Ubuntu
|
||||
# and we need compatibility with binaries built where
|
||||
# https://bugzilla.rosalinux.ru/show_bug.cgi?id=9286
|
||||
Provides: libbz2.so.1.0%{_arch_tag_suffix}
|
||||
Provides: libbz2.so.%{version}%{_arch_tag_suffix}
|
||||
|
||||
%description -n %{libname}
|
||||
Library of bzip2 functions, for developing apps which will use the
|
||||
|
@ -58,7 +64,8 @@ bzip2 library (aka libz2).
|
|||
%files -n %{libname}
|
||||
%doc LICENSE
|
||||
/%{_lib}/libbz2.so.%{major}
|
||||
/%{_lib}/libbz2.so.%{major}.*
|
||||
/%{_lib}/libbz2.so.%{major}.0
|
||||
/%{_lib}/libbz2.so.%{version}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue