Be more explicit in %files
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_listing_shared_library_files https://docs.fedoraproject.org/en-US/packaging-guidelines/#_manpages https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_files_to_include
This commit is contained in:
parent
80f5d666e3
commit
760a93e3c4
23
brotli.spec
23
brotli.spec
@ -85,20 +85,31 @@ cd ..
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/brotli
|
%{_bindir}/brotli
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/libbrotlicommon.so.1*
|
||||||
|
%{_libdir}/libbrotlidec.so.1*
|
||||||
|
%{_libdir}/libbrotlienc.so.1*
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
# Note that there is no %%files section for the unversioned python module
|
# Note that there is no %%files section for the unversioned python module
|
||||||
# if we are building for several python runtimes
|
# if we are building for several python runtimes
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%{python3_sitearch}/*
|
%{python3_sitearch}/brotli.py
|
||||||
|
%{python3_sitearch}/_brotli.cpython-%{python3_version_nodots}m*.so
|
||||||
|
%{python3_sitearch}/__pycache__/brotli.cpython-%{python3_version_nodots}*.py*
|
||||||
|
%{python3_sitearch}/Brotli-%{version}-py%{python3_version}.egg-info
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/*
|
%{_includedir}/brotli
|
||||||
%{_libdir}/*.so
|
%{_libdir}/libbrotlicommon.so
|
||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/libbrotlidec.so
|
||||||
%{_mandir}/man3/*
|
%{_libdir}/libbrotlienc.so
|
||||||
|
%{_libdir}/pkgconfig/libbrotlicommon.pc
|
||||||
|
%{_libdir}/pkgconfig/libbrotlidec.pc
|
||||||
|
%{_libdir}/pkgconfig/libbrotlienc.pc
|
||||||
|
%{_mandir}/man3/decode.h.3brotli*
|
||||||
|
%{_mandir}/man3/encode.h.3brotli*
|
||||||
|
%{_mandir}/man3/types.h.3brotli*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user