https://bugzilla.redhat.com/show_bug.cgi?id=1771173
--- Comment #11 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- (In reply to Robert-André Mauchin from comment #10)
- You're including the data twice by having %{_datadir}/%{name} in the main
package
%files -f %{name}.lang %license LICENSE %doc README.md AUTHORS %{_bindir}/xournal-thumbnailer %{_bindir}/%{name} %{_datadir}/applications/com.github.%{name}.%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/com.github.%{name}.%{name}.svg %{_datadir}/icons/hicolor/scalable/mimetypes/* %{_datadir}/mime/packages/com.github.%{name}.%{name}.xml %exclude %{_datadir}/mimelnk/application/* %{_datadir}/thumbnailers/com.github.%{name}.%{name}.thumbnailer %{_datadir}/%{name} <----
Good catch. Fixed
Change it to %dir %{_datadir}/%{name} to just own the directory
Also the main package should Requires the ui and plugins subpackages for them to be installed altogether.
Done.
Updated files SPECS: https://copr-be.cloud.fedoraproject.org/results/luya/xournalpp/fedora-rawhid... SRPMS: https://copr-be.cloud.fedoraproject.org/results/luya/xournalpp/fedora-rawhid...