Bug 2292943 - Review Request: polylabel - A fast algorithm for finding the pole of inaccessibility of a polygon
Summary: Review Request: polylabel - A fast algorithm for finding the pole of inaccess...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom Rix
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/mapbox/polylabel/
Whiteboard:
Depends On:
Blocks: 2275243
TreeView+ depends on / blocked
 
Reported: 2024-06-18 17:46 UTC by Tom Hughes
Modified: 2024-07-05 16:13 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-05 16:01:18 UTC
Type: ---
Embargoed:
trix: fedora-review+


Attachments (Terms of Use)

Description Tom Hughes 2024-06-18 17:46:02 UTC
Spec URL: https://tomh.fedorapeople.org/polylabel.spec
SRPM URL: https://tomh.fedorapeople.org/polylabel-1.1.0-1.fc40.src.rpm

Description:
A fast algorithm for finding polygon pole of inaccessibility, the most
distant internal point from the polygon outline.

Useful for optimal placement of a text label on a polygon.

Fedora Account System Username: tomh

Comment 1 Tom Hughes 2024-06-18 17:46:04 UTC
This package built on koji:  https://koji.fedoraproject.org/koji/taskinfo?taskID=119249914

Comment 2 Fedora Review Service 2024-06-18 17:56:50 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7625356
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2292943-polylabel/fedora-rawhide-x86_64/07625356-polylabel/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 3 Tom Rix 2024-07-05 13:11:43 UTC
Could update to v2.0.0 - came out this week.
Also add %dir %{_includedir}/mapbox to %files devel

Pretty simple header only package.
test passes

approved

Comment 4 Tom Hughes 2024-07-05 13:34:07 UTC
Thanks for the review.

I'll update the version but I'm not clear why you think adding %dir would be helpful? The directory is already added along with the files it contained and the only thing %dir does it to make rpm package the directory without any files it contains meaning they would then have to be listed separately, or is that what you're suggesting?

Comment 5 Fedora Admin user for bugzilla script actions 2024-07-05 13:37:23 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/polylabel

Comment 6 Tom Rix 2024-07-05 16:13:32 UTC
(In reply to Tom Hughes from comment #4)
> Thanks for the review.
> 
> I'll update the version but I'm not clear why you think adding %dir would be
> helpful? The directory is already added along with the files it contained
> and the only thing %dir does it to make rpm package the directory without
> any files it contains meaning they would then have to be listed separately,
> or is that what you're suggesting?

the fedora-review output had some (maybe spurious) warnings about dir ownership.
i have used the %dir squash these warnings in my own spec files.


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