Bug 754437 - Review Request: mingw-libvirt-glib - libvirt glib integration for event
Summary: Review Request: mingw-libvirt-glib - libvirt glib integration for event
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Erik van Pienbroek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-16 13:55 UTC by Daniel Berrangé
Modified: 2012-09-23 05:04 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-09-23 05:04:19 UTC
Type: ---
Embargoed:
erik-fedora: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Daniel Berrangé 2011-11-16 13:55:11 UTC
Spec URL: http://berrange.fedorapeople.org/review/mingw32-libvirt-glib/mingw32-libvirt-glib.spec
SRPM URL: http://berrange.fedorapeople.org/review/mingw32-libvirt-glib/mingw32-libvirt-glib-0.0.1-1.fc17.src.rpm
Description: This package provides integration between libvirt and the glib
event loop. This is the mingw32 build.

Comment 1 Erik van Pienbroek 2011-11-30 21:43:25 UTC
Taking for review

- The latest upstream version is 0.0.2. Please update to this version
- Please replace the %define's at the top of the .spec file with these:
    %global __strip %{_mingw32_strip}
    %global __objdump %{_mingw32_objdump}
    %define __debug_install_post %{_mingw32_debug_install_post}
- Please add the line %{?_mingw32_debug_package} between the last %description and the %prep lines. This is required for automatic debuginfo extraction
- The BuildRoot tag, the 'rm -rf $RPM_BUILD_ROOT' from the %install section, the entire %clean section and the various %defattr lines can all be dropped as they're not needed any more with recent RPM

Next to this I would also like to recommend you to name the package 'mingw-libvirt-glib' (which provides the 'mingw32-libvirt-glib' and other subpackages). We recommend this for new packages so they can easily be adjusted to have mingw-w64 support without requiring a full re-review. Support for mingw-w64 is a planned feature for Fedora 17, but is currently stalled because we're still waiting for legal approval: http://lists.fedoraproject.org/pipermail/legal/2011-November/001754.html

An example of a package which uses this new naming scheme can be found at https://fedoraproject.org/wiki/Packaging:MinGW#Example_Specfile

Comment 2 Erik van Pienbroek 2012-06-15 15:35:52 UTC
Daniel: Do you still want to continue this package review?
If so, please update the package so it will be based on the new MinGW Packaging Guidelines which are active as of Fedora 17: https://fedoraproject.org/wiki/Packaging:MinGW

Comment 3 Daniel Berrangé 2012-06-15 15:38:36 UTC
Yes, I do. I was ignoring it until the Mingw32 -> Mingw64 migration in Fedora had settled down. I'll rewrite the specfile to follow new standards soon

Comment 5 Erik van Pienbroek 2012-08-26 18:55:36 UTC
$ rpmlint mingw-libvirt-glib.spec 
0 packages and 1 specfiles checked; 0 errors, 0 warnings.

$ rpmlint mingw-libvirt-glib-0.0.8-1.fc17.src.rpm 
mingw-libvirt-glib.src: W: spelling-error Summary(en_US) virtualization -> visualization, actualization, vitalization
mingw-libvirt-glib.src: W: spelling-error %description -l en_US virtualization -> visualization, actualization, vitalization
mingw-libvirt-glib.src: W: strange-permission libvirt-glib-0.0.8.tar.gz 0444L
1 packages and 0 specfiles checked; 0 errors, 3 warnings.

$ rpmlint mingw32-libvirt-glib-0.0.8-1.fc17.noarch.rpm mingw32-libvirt-gconfig-0.0.8-1.fc17.noarch.rpm mingw32-libvirt-gobject-0.0.8-1.fc17.noarch.rpm mingw64-libvirt-glib-0.0.8-1.fc17.noarch.rpm mingw64-libvirt-gconfig-0.0.8-1.fc17.noarch.rpm mingw64-libvirt-gobject-0.0.8-1.fc17.noarch.rpm
mingw32-libvirt-glib.noarch: W: spelling-error Summary(en_US) gconfig -> configure
mingw32-libvirt-glib.noarch: W: spelling-error Summary(en_US) virtualization -> visualization, actualization, vitalization
mingw32-libvirt-glib.noarch: W: spelling-error %description -l en_US virtualization -> visualization, actualization, vitalization
mingw32-libvirt-gconfig.noarch: W: spelling-error Summary(en_US) virtualization -> visualization, actualization, vitalization
mingw32-libvirt-gconfig.noarch: W: spelling-error %description -l en_US virtualization -> visualization, actualization, vitalization
mingw32-libvirt-gconfig.noarch: W: no-documentation
mingw32-libvirt-gobject.noarch: W: spelling-error Summary(en_US) virtualization -> visualization, actualization, vitalization
mingw32-libvirt-gobject.noarch: W: spelling-error %description -l en_US virtualization -> visualization, actualization, vitalization
mingw32-libvirt-gobject.noarch: W: no-documentation
mingw64-libvirt-glib.noarch: W: spelling-error Summary(en_US) gconfig -> configure
mingw64-libvirt-glib.noarch: W: spelling-error Summary(en_US) virtualization -> visualization, actualization, vitalization
mingw64-libvirt-glib.noarch: W: spelling-error %description -l en_US virtualization -> visualization, actualization, vitalization
mingw64-libvirt-gconfig.noarch: W: spelling-error Summary(en_US) virtualization -> visualization, actualization, vitalization
mingw64-libvirt-gconfig.noarch: W: spelling-error %description -l en_US virtualization -> visualization, actualization, vitalization
mingw64-libvirt-gconfig.noarch: W: no-documentation
mingw64-libvirt-gobject.noarch: W: spelling-error Summary(en_US) virtualization -> visualization, actualization, vitalization
mingw64-libvirt-gobject.noarch: W: spelling-error %description -l en_US virtualization -> visualization, actualization, vitalization
mingw64-libvirt-gobject.noarch: W: no-documentation
6 packages and 0 specfiles checked; 0 errors, 18 warnings.


$ rpm --query --requires mingw32-libvirt-glib
mingw32(kernel32.dll)  
mingw32(libglib-2.0-0.dll)  
mingw32(libvirt-0.dll)  
mingw32(msvcrt.dll)  
mingw32-crt  
mingw32-filesystem >= 83
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

$ rpm --query --requires mingw32-libvirt-gconfig
mingw32(kernel32.dll)  
mingw32(libglib-2.0-0.dll)  
mingw32(libgobject-2.0-0.dll)  
mingw32(libxml2-2.dll)  
mingw32(msvcrt.dll)  
mingw32-crt  
mingw32-filesystem >= 83
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

$ rpm --query --requires mingw32-libvirt-gobject
mingw32(kernel32.dll)  
mingw32(libgio-2.0-0.dll)  
mingw32(libglib-2.0-0.dll)  
mingw32(libgobject-2.0-0.dll)  
mingw32(libvirt-0.dll)  
mingw32(libvirt-gconfig-1.0-0.dll)  
mingw32(libvirt-glib-1.0-0.dll)  
mingw32(msvcrt.dll)  
mingw32-crt  
mingw32-filesystem >= 83
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

$ rpm --query --requires mingw64-libvirt-glib
mingw64(kernel32.dll)  
mingw64(libglib-2.0-0.dll)  
mingw64(libvirt-0.dll)  
mingw64(msvcrt.dll)  
mingw64-crt  
mingw64-filesystem >= 83
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

$ rpm --query --requires mingw64-libvirt-gconfig
mingw64(kernel32.dll)  
mingw64(libglib-2.0-0.dll)  
mingw64(libgobject-2.0-0.dll)  
mingw64(libxml2-2.dll)  
mingw64(msvcrt.dll)  
mingw64-crt  
mingw64-filesystem >= 83
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

$ rpm --query --requires mingw64-libvirt-gobject
mingw64(kernel32.dll)  
mingw64(libgio-2.0-0.dll)  
mingw64(libglib-2.0-0.dll)  
mingw64(libgobject-2.0-0.dll)  
mingw64(libvirt-0.dll)  
mingw64(libvirt-gconfig-1.0-0.dll)  
mingw64(libvirt-glib-1.0-0.dll)  
mingw64(msvcrt.dll)  
mingw64-crt  
mingw64-filesystem >= 83
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


$ rpm --query --provides mingw32-libvirt-glib
mingw32(libvirt-glib-1.0-0.dll)  
mingw32-libvirt-glib = 0.0.8-1.fc17

$ rpm --query --provides mingw32-libvirt-gconfig
mingw32(libvirt-gconfig-1.0-0.dll)  
mingw32-libvirt-gconfig = 0.0.8-1.fc17

$ rpm --query --provides mingw32-libvirt-gobject
mingw32(libvirt-gobject-1.0-0.dll)  
mingw32-libvirt-gobject = 0.0.8-1.fc17

$ rpm --query --provides mingw64-libvirt-glib
mingw64(libvirt-glib-1.0-0.dll)  
mingw64-libvirt-glib = 0.0.8-1.fc17

$ rpm --query --provides mingw64-libvirt-gconfig
mingw64(libvirt-gconfig-1.0-0.dll)  
mingw64-libvirt-gconfig = 0.0.8-1.fc17

$ rpm --query --provides mingw64-libvirt-gobject
mingw64(libvirt-gobject-1.0-0.dll)  
mingw64-libvirt-gobject = 0.0.8-1.fc17


$ wget --quiet ftp://libvirt.org/libvirt/glib/libvirt-glib-0.0.8.tar.gz -O - | md5sum
cc0913fdf1011558e81e7de4b00c7d1f  -
$ md5sum libvirt-glib-0.0.8.tar.gz 
cc0913fdf1011558e81e7de4b00c7d1f  libvirt-glib-0.0.8.tar.gz


+ OK
! Needs to be looked into
/ Not applicable

[+] Compliant with generic Fedora Packaging Guidelines
[+] Source package name is prefixed with 'mingw-'
[+] Spec file starts with %{?mingw_package_header}
[+] BuildRequires: mingw32-filesystem >= 95 is in the .spec file
[+] BuildRequires: mingw64-filesystem >= 95 is in the .spec file
[+] Spec file contains %package sections for both mingw32 and mingw64 packages
[+] Binary mingw32 and mingw64 packages are noarch
[+] Spec file contains %{?mingw_debug_package} after the %description section
[+] Uses one of the macros %mingw_configure, %mingw_cmake, or %mingw_cmake_kde4
    to configure the package
[+] Uses the macro %mingw_make to build the package
[+] Uses the macro %mingw_make to install the package
[/] If package contains translations, the %mingw_find_lang macro must be used
[+] No binary package named mingw-$pkgname is generated
[!] Libtool .la files are not bundled
[+] .def files are not bundled
[+] Man pages which duplicate native package are not bundled
[+] Info files which duplicate native package are not bundled
[+] Provides of the binary mingw32 and mingw64 packages are equal
[+] Requires of the binary mingw32 and mingw64 packages are equal


The rpmlint warning strange-permission looks harmless and will probably
disappear automatically when uploading the tarball to the Fedora infrastructure

The BuildRoot and %defattr tags are unneeded these days and can be removed
The quotes in the %mingw_make_install call are also unneeded and can be removed
The libtool .la files are also unneeded and can be removed

Please fix these minor issues before importing in Fedora

========================================================
 The package mingw-libvirt-glib is APPROVED by epienbro
========================================================

Comment 6 Daniel Berrangé 2012-09-04 13:41:51 UTC
New Package SCM Request
=======================
Package Name: mingw-libvirt-glib
Short Description: libvirt glib integration for events
Owners: berrange
Branches: f18
InitialCC:

Comment 7 Gwyn Ciesla 2012-09-04 13:50:26 UTC
Git done (by process-git-requests).

Comment 8 Fedora Update System 2012-09-04 16:55:59 UTC
mingw-libvirt-glib-0.1.2-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/mingw-libvirt-glib-0.1.2-1.fc18

Comment 9 Fedora Update System 2012-09-23 05:04:19 UTC
mingw-libvirt-glib-0.1.2-1.fc18 has been pushed to the Fedora 18 stable repository.


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