Bug 1497687 (popub)
Summary: | Review Request: popub - Upstream rename of portpub | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Zamir SUN <sztsian> |
Component: | Package Review | Assignee: | Robert-André Mauchin 🐧 <eclipseo> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | eclipseo, package-review |
Target Milestone: | --- | Flags: | eclipseo:
fedora-review+
|
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-07 22:17:53 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Zamir SUN
2017-10-02 13:12:12 UTC
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. |