https://bugzilla.redhat.com/show_bug.cgi?id=1955394



--- Comment #8 from Neal Gompa <[email protected]> ---
(In reply to zm627 from comment #7)
> Thank you Neal!
> 
> However I'm a little confused with the -libs subpackage. Would you like to
> provide more information about it?
> 
> What I got from your comment is that it's better to split the two .so files
> into two packages. The main package contains the .so.1.0.4 and the -libs
> package contains the .so.1 (version number is an example here based on the
> current upstream release version).
> Finally we should have totally 3 packages, the main package which is qatzip
> with .so.1.0.4, the -libs package qatzip-libs with .so.1, and the devel
> package qatzip-devel with .so.
> The libs subpackage should have dependency on the main package. 
> 
> Would you like to correct me if I'm wrong? Thanks!

Basically, it should look like this:

%package        libs
Summary:        Libraries for the qatzip package

%description    libs
This package contains libraries for applications to use
the QATzip APIs.

%files libs
%{_libdir}/libqatzip.so.%{libqatzip_soversion}
%{_libdir}/libqatzip.so.%{version}


Additionally, the main and devel packages should have a dependency on the libs
package, like so:

Requires:       %{name}-libs%{?_isa} = %{version}-%{release}


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to