Spec URL: https://raw.githubusercontent.com/sztsian/packaging/4a8dbeb9250a8dcb1b3313c0cb62f34f6b8513b8/portpub/popub.spec SRPM URL: https://copr-be.cloud.fedoraproject.org/results/zsun/test/fedora-rawhide-x86_64/00611115-popub/popub-0-0.2.20170920git4698f9a.fc28.src.rpm Description: Publish a service from localhost onto your server. This is a rename of portpub bz 1490058. Fedora Account System Username: zsun
Where are the Obsoletes and Provides for the old package??
(In reply to Robert-André Mauchin from comment #1) > Where are the Obsoletes and Provides for the old package?? Ouch... I removed Obsoletes by mistake. SPEC URL: https://raw.githubusercontent.com/sztsian/packaging/748d80fc4343463dc22cca727b64d840a03f5031/portpub/popub.spec SRPM URL: https://copr-be.cloud.fedoraproject.org/results/zsun/test/fedora-rawhide-x86_64/00611123-popub/popub-0-0.2.20170920git4698f9a.fc28.src.rpm
- 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}-local@.service %systemd_user_post %{name}-local@.service %preun local %systemd_preun %{name}-local@.service %systemd_user_preun %{name}-local@.service %postun local %systemd_postun_with_restart %{name}-local@.service %post relay %systemd_post %{name}-relay@.service %systemd_user_post %{name}-relay@.service %preun relay %systemd_preun %{name}-relay@.service %systemd_user_preun %{name}-relay@.service %postun relay %systemd_postun_with_restart %{name}-relay@.service
Thanks for the help. SRPM: https://copr-be.cloud.fedoraproject.org/results/zsun/test/fedora-rawhide-x86_64/00637494-popub/popub-0-0.3.20171007git6ffa11c.fc28.src.rpm SPEC: https://raw.githubusercontent.com/sztsian/packaging/master/portpub/popub.spec
All ok, package accepted.
(fedrepo-req-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/popub
popub-0-0.3.20171007git6ffa11c.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-dbe596c86c
popub-0-0.3.20171007git6ffa11c.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-dbe596c86c
popub-0-0.3.20171007git6ffa11c.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.