Bug 1622347 - Review Request: libwpe - a renaming of wpewebkit
Summary: Review Request: libwpe - a renaming of wpewebkit
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-26 14:47 UTC by Chris King
Modified: 2020-08-03 00:35 UTC (History)
4 users (show)

Fixed In Version: libwpe-1.0.0-1.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-03 00:35:52 UTC
Type: ---
Embargoed:
zebob.m: fedora-review+


Attachments (Terms of Use)

Description Chris King 2018-08-26 14:47:23 UTC
Spec URL: https://bunnyapocalypse.space/libwpe.spec
SRPM URL: https://bunnyapocalypse.space/libwpe-1.0.0-1.fc28.src.rpm
Description: Renaming of wpebackend to libwpe to represent upstream changes. This is my first time renaming a package, so sorry if I made mistakes in the obsoletes etc.
Fedora Account System Username: bunnyapocalypse

Comment 1 Michael Catanzaro 2018-08-27 12:46:01 UTC
Sorry for renaming this upstream right after you packaged it, but I figured i was better to get the stupid naming fixed sooner rather than later.

Comment 2 Robert-André Mauchin 🐧 2018-08-27 18:02:40 UTC
If a package is being renamed without any functional changes, or is a compatible enough replacement to an existing package (where "enough" means that it includes only changes of magnitude that are commonly found in version upgrade changes), provide clean upgrade paths and compatibility with:

Provides: oldpackagename = $provEVR
Obsoletes: oldpackagename < $obsEVR

$provEVR refers to an (Epoch-)Version-Release tuple the original unchanged package would have had if it had been version or release bumped. You usually use macros here because the provides EVR should continue to go up as the renamed package advances in version and release. $obsEVR is an (Epoch-)Version-Release tuple arranged so that there is a clean upgrade path but without gratuitously polluting the version space upwards. You usually do not use macros for this as you're simply trying to advance beyond the last known release under the old name.

Per this guidelines, it should be:

Provides: wpebackend = %{version}-%{release} 
Obsoletes: wpebackend < 0.2.0-2


 - Source0 is 404. It should be:

Source0:        https://github.com/WebPlatformForEmbedded/libwpe/releases/download/%{version}/%{name}-%{version}.tar.xz

 - Split the description to stay below 80 characters per line. Shorten the summary and remove the dot at the end

libwpe.x86_64: W: summary-ended-with-dot C General-purpose library specifically developed for the WPE-flavored port of WebKit.
libwpe.x86_64: E: summary-too-long C General-purpose library specifically developed for the WPE-flavored port of WebKit.
libwpe.x86_64: E: description-line-too-long C General-purpose library specifically developed for the WPE-flavored port of WebKit.

 - The %changelog Version-Release entry is not correct:

* Fri Jul 13 2018 Chris King <bunnyapocalypse> - 1.0.0-1

Comment 3 Chris King 2018-08-27 18:47:35 UTC
(In reply to Robert-André Mauchin from comment #2)
> Per this guidelines, it should be:
> 
> Provides: wpebackend = %{version}-%{release} 
> Obsoletes: wpebackend < 0.2.0-2

Ah, I had a feeling I messed up there, fixed.

>  - Source0 is 404. It should be:
> 
> Source0:       
> https://github.com/WebPlatformForEmbedded/libwpe/releases/download/
> %{version}/%{name}-%{version}.tar.xz

I have made this change

>  - Split the description to stay below 80 characters per line. Shorten the
> summary and remove the dot at the end

Fixed

>  - The %changelog Version-Release entry is not correct:

Fixed

Thanks again for another wonderful review Robert!

New spec: https://copr-be.cloud.fedoraproject.org/results/bunnyapocalypse/wpewebkit-rawhide/fedora-rawhide-x86_64/00791555-libwpe/builder-live.log
New SRPM: https://copr-be.cloud.fedoraproject.org/results/bunnyapocalypse/wpewebkit-rawhide/fedora-rawhide-x86_64/00791555-libwpe/libwpe-1.0.0-1.fc30.src.rpm

Comment 4 Robert-André Mauchin 🐧 2018-08-27 19:02:21 UTC
Package approved.

Comment 5 Gwyn Ciesla 2018-08-27 20:44:18 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/libwpe

Comment 6 Elliott Sales de Andrade 2020-08-03 00:35:52 UTC
Please close your Review Requests when they are complete.


Note You need to log in before you can comment on or make changes to this bug.