Bug 2176391

Summary: Review Request: vcdimager - VideoCD (pre-)mastering and ripping tool
Product: [Fedora] Fedora Reporter: Xavier Bachelot <xavier>
Component: Package ReviewAssignee: Neal Gompa <ngompa13>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ngompa13, package-review
Target Milestone: ---Flags: ngompa13: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://www.gnu.org/software/vcdimager/
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-13 00:17:43 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:
Attachments:
Description Flags
The .spec file difference from Copr build 5613857 to 5614851
none
The .spec file difference from Copr build 5614851 to 5614984 none

Description Xavier Bachelot 2023-03-08 09:56:52 UTC
Spec URL: https://www.bachelot.org/fedora/SPECS/vcdimager.spec
SRPM URL: https://www.bachelot.org/fedora/SRPMS/vcdimager-2.0.1-14.fc39.src.rpm
Description:
VCDImager allows you to create VideoCD BIN/CUE CD images from MPEG
files. These can be burned with cdrdao or any other program capable of
burning BIN/CUE files.

Also included is VCDRip which does the reverse operation, that is to
rip MPEG streams from images or burned VideoCDs and to show
information about a VideoCD.

Fedora Account System Username: xavierb

Comment 1 Jakub Kadlčík 2023-03-08 10:08:54 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5613857
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2176391-vcdimager/fedora-rawhide-x86_64/05613857-vcdimager/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 2 Neal Gompa 2023-03-08 12:38:38 UTC
Taking this review.

Comment 3 Neal Gompa 2023-03-08 12:52:38 UTC
Initial spec review:

> Requires(post):  info
> Requires(preun): info

This is only needed for EL7. EL8 and newer have file triggers so this should be dropped for them.

> find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'

This should be %{buildroot} for consistency

> %post libs -p /sbin/ldconfig
> %postun libs -p /sbin/ldconfig

This is only needed for EL7. If you want to have EL7 compatibility, please switch to "%ldconfig_scriptlets libs" instead, so it becomes a no-op on EL8+ and Fedora.

> %post
> for infofile in vcdxrip.info vcdimager.info vcd-info.info; do
>   /sbin/install-info %{_infodir}/${infofile} %{_infodir}/dir 2>/dev/null || :
> done
> 
> %preun
> if [ $1 -eq 0 ]; then
>   for infofile in vcdxrip.info vcdimager.info vcd-info.info; do
>     /sbin/install-info --delete %{_infodir}/${infofile} %{_infodir}/dir \
>       2>/dev/null || :
>   done
> fi

This is only needed for EL7. EL8 and newer have file triggers so this should be dropped for them.

> %{_bindir}/*
> %{_mandir}/man1/*

This kind of globbing is not explicit/specific enough, there's no way to tell if the package may add conflicting binaries.

Cf. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_explicit_lists

Comment 4 Xavier Bachelot 2023-03-08 13:08:01 UTC
Thanks Neal.

All fixed in :
Spec URL: https://www.bachelot.org/fedora/SPECS/vcdimager.spec
SRPM URL: https://www.bachelot.org/fedora/SRPMS/vcdimager-2.0.1-15.fc39.src.rpm

Comment 5 Neal Gompa 2023-03-08 13:08:08 UTC
Oh I missed one...

> License: GPLv2+

This needs to be "GPL-2.0-or-later" now.

Cf. https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_valid_license_short_names

Comment 6 Neal Gompa 2023-03-08 13:09:18 UTC
> %{_mandir}/man1/cdxa2mpeg.1.gz
> %{_mandir}/man1/vcd-info.1.gz
> %{_mandir}/man1/vcdimager.1.gz
> %{_mandir}/man1/vcdxbuild.1.gz
> %{_mandir}/man1/vcdxgen.1.gz
> %{_mandir}/man1/vcdxminfo.1.gz
> %{_mandir}/man1/vcdxrip.1.gz

Please use "1*" here, because we don't guarantee gzipped man pages

Comment 7 Jakub Kadlčík 2023-03-08 13:20:06 UTC
Created attachment 1949028 [details]
The .spec file difference from Copr build 5613857 to 5614851

Comment 8 Jakub Kadlčík 2023-03-08 13:20:08 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5614851
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2176391-vcdimager/fedora-rawhide-x86_64/05614851-vcdimager/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 9 Xavier Bachelot 2023-03-08 13:41:41 UTC
Fixed License: to use SPDX and manpages to use a glob instead of fixed .gz.


Spec URL: https://www.bachelot.org/fedora/SPECS/vcdimager.spec
SRPM URL: https://www.bachelot.org/fedora/SRPMS/vcdimager-2.0.1-16.fc39.src.rpm

Comment 10 Jakub Kadlčík 2023-03-08 13:51:01 UTC
Created attachment 1949047 [details]
The .spec file difference from Copr build 5614851 to 5614984

Comment 11 Jakub Kadlčík 2023-03-08 13:51:04 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5614984
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2176391-vcdimager/fedora-rawhide-x86_64/05614984-vcdimager/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 12 Neal Gompa 2023-03-09 17:08:11 UTC
This looks great now.

PACKAGE APPROVED.

Comment 13 Fedora Admin user for bugzilla script actions 2023-03-09 19:43:33 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/vcdimager

Comment 14 Fedora Update System 2023-03-12 18:10:03 UTC
FEDORA-2023-706a02d681 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-706a02d681

Comment 15 Fedora Update System 2023-03-12 18:10:16 UTC
FEDORA-EPEL-2023-967aa197e2 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-967aa197e2

Comment 16 Fedora Update System 2023-03-12 18:10:36 UTC
FEDORA-2023-bbd85c941a has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-bbd85c941a

Comment 17 Fedora Update System 2023-03-12 18:10:53 UTC
FEDORA-2023-0b053c84b8 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0b053c84b8

Comment 18 Fedora Update System 2023-03-12 18:11:11 UTC
FEDORA-EPEL-2023-c71897b5ef has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-c71897b5ef

Comment 19 Fedora Update System 2023-03-13 00:17:43 UTC
FEDORA-2023-706a02d681 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Fedora Update System 2023-03-13 00:42:53 UTC
FEDORA-EPEL-2023-c71897b5ef has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 21 Fedora Update System 2023-03-13 00:59:19 UTC
FEDORA-2023-bbd85c941a has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 22 Fedora Update System 2023-03-13 01:16:15 UTC
FEDORA-2023-0b053c84b8 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 23 Fedora Update System 2023-03-13 01:27:21 UTC
FEDORA-EPEL-2023-967aa197e2 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.