https://bugzilla.redhat.com/show_bug.cgi?id=1497687
--- Comment #3 from Robert-André Mauchin <[email protected]> --- - You must include *both* Obsoletes and Provides so that we provide a correct upgrade path. See https://fedoraproject.org/wiki/Packaging:Guidelines#Renaming.2FReplacing_Existing_Packages Provides: portpub-local%{?_isa} = %{version}-%{release} Obsoletes: portpub-local <= 0-0.2 Provides: portpub-relay%{?_isa} = %{version}-%{release} Obsoletes: portpub-relay <= 0-0.2 - Also this package install user unit files, they must be handled by systemd scriplets, see https://fedoraproject.org/wiki/Packaging:Scriptlets#Systemd First add the folldwing BR and macro: %{?systemd_requires} BuildRequires: systemd Then add the scriplet for the unit files and user unit files: %post local %systemd_post %{name}[email protected] %systemd_user_post %{name}[email protected] %preun local %systemd_preun %{name}[email protected] %systemd_user_preun %{name}[email protected] %postun local %systemd_postun_with_restart %{name}[email protected] %post relay %systemd_post %{name}[email protected] %systemd_user_post %{name}[email protected] %preun relay %systemd_preun %{name}[email protected] %systemd_user_preun %{name}[email protected] %postun relay %systemd_postun_with_restart %{name}[email protected] -- 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]
