Bug 1063044 - Review Request: dh-autoreconf - debhelper add-on to call autoreconf and clean up after the build
Summary: Review Request: dh-autoreconf - debhelper add-on to call autoreconf and clean...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1063043
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-09 18:04 UTC by Sandro Mani
Modified: 2014-03-02 03:41 UTC (History)
3 users (show)

Fixed In Version: dh-autoreconf-9-2.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-02 03:41:37 UTC
Type: ---
Embargoed:
zbyszek: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Sandro Mani 2014-02-09 18:04:05 UTC
Spec URL: http://smani.fedorapeople.org/review/dh-autoreconf.spec
SRPM URL: http://smani.fedorapeople.org/review/dh-autoreconf-9-1.fc21.src.rpm
Description: debhelper add-on to call autoreconf and clean up after the build
Fedora Account System Username: smani

Comment 1 Zbigniew Jędrzejewski-Szmek 2014-02-10 03:12:55 UTC
So, all is great, apart from the lack of cdbs.

===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: If (and only if) the source package includes the text of the license(s)
     in its own file, then that file, containing the text of the license(s)
     for the package is included in %doc.
[x]: License field in the package spec file matches the actual license.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 10240 bytes in 1 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: Package does not own files or directories owned by other packages.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package do not use a name that already exist
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as provided
     in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

Perl:
[x]: Package contains the mandatory BuildRequires and Requires:.

===== SHOULD items =====

Generic:
[-]: If the source package does not include license text(s) as a separate file
     from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: Dist tag is present (not strictly required in GL).
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[!]: Rpmlint is run on all installed packages.
[x]: Spec file according to URL is the same as in SRPM.

Rpmlint
-------
Checking: dh-autoreconf-9-1.fc20.noarch.rpm
          dh-autoreconf-9-1.fc20.src.rpm
dh-autoreconf.noarch: E: devel-dependency gettext-devel
I don't see why this should be wrong.

dh-autoreconf.noarch: E: explicit-lib-dependency libtool
That's OK too.

dh-autoreconf.noarch: W: summary-not-capitalized C debhelper add-on to call autoreconf and clean up after the build
Bogus.

dh-autoreconf.noarch: W: spelling-error %description -l en_US addon -> ad don, ad-don, add on
Ehh, rmplint spelling suggestions...

dh-autoreconf.noarch: W: spelling-error %description -l en_US checksums -> check sums, check-sums, checks
dh-autoreconf.noarch: E: description-line-too-long C For CDBS users, a rule is provided to call the dh-autoreconf programs at the right time.
dh-autoreconf.src: W: spelling-error Summary(en_US) debhelper -> deb helper, deb-helper, helper
dh-autoreconf.src: W: summary-not-capitalized C debhelper add-on to call autoreconf and clean up after the build
dh-autoreconf.src: W: spelling-error %description -l en_US debhelper -> deb helper, deb-helper, helper
dh-autoreconf.src: W: spelling-error %description -l en_US addon -> ad don, ad-don, add on
dh-autoreconf.src: W: spelling-error %description -l en_US checksums -> check sums, check-sums, checks
dh-autoreconf.src: E: description-line-too-long C For CDBS users, a rule is provided to call the dh-autoreconf programs at the right time.
2 packages and 0 specfiles checked; 4 errors, 8 warnings.

Nothing important here.



Requires
--------
dh-autoreconf (rpmlib, GLIBC filtered):
    /usr/bin/perl
    autoconf
    automake
    cdbs
    debhelper
    gettext-devel
    libtool
    perl(:MODULE_COMPAT_5.18.2)
    perl(Debian::Debhelper::Dh_Lib)
    perl(strict)
    perl(warnings)



Provides
--------
dh-autoreconf:
    dh-autoreconf



Source checksums
----------------
http://ftp.de.debian.org/debian/pool/main/d/dh-autoreconf/dh-autoreconf_9.tar.gz :
  CHECKSUM(SHA256) this package     : ab94d8701c39ae572a1b5d9ceb00a81e95400e7e35a19e6fdc6f55d21dba2da2
  CHECKSUM(SHA256) upstream package : ab94d8701c39ae572a1b5d9ceb00a81e95400e7e35a19e6fdc6f55d21dba2da2

Comment 2 Ralf Corsepius 2014-02-10 15:55:02 UTC
Directory ownerships do not seem OK:

The package must own all directories referenced on this path:
%{perl_vendorlib}/Debian/Debhelper/Sequence/autoreconf.pm

Similar considerations probably also apply to %{_datadir}/cdbs, I don't know off-head, how directory ownerships are handled there:
%{_datadir}/cdbs/1/rules/

Comment 3 Sandro Mani 2014-02-10 16:15:27 UTC
debhelper owns %{perl_vendorlib}/Debian/Debhelper/Sequence/:
$ rpm -ql debhelper
[...]
/usr/share/perl5/vendor_perl/Debian/Debhelper/Sequence
[...]
$ rpm -qf /usr/share/perl5/vendor_perl/Debian/Debhelper/Sequence
debhelper-9.20131227-1.fc21.noarch

cdbs owns {_datadir}/cdbs/1/rules/:
$ rpm -ql cdbs
[...]
/usr/share/cdbs/1
[...]
$ rpm -qf /usr/share/cdbs/1
cdbs-0.4.122-1.fc21.x86_64

I can add some comments in the spec if you feel it would be adequate.

Comment 4 Ralf Corsepius 2014-02-13 03:12:38 UTC
(In reply to Sandro Mani from comment #3)
> debhelper owns %{perl_vendorlib}/Debian/Debhelper/Sequence/:
> $ rpm -ql debhelper
> [...]
> /usr/share/perl5/vendor_perl/Debian/Debhelper/Sequence
> [...]
> $ rpm -qf /usr/share/perl5/vendor_perl/Debian/Debhelper/Sequence
> debhelper-9.20131227-1.fc21.noarch

Please make yourself familiar with the Fedora Packaging Guidelines-

This package installs a perl-module and therefore must comply to the perl packaging rules.

=> MUSTFIX

Comment 5 Sandro Mani 2014-02-13 10:00:42 UTC
Ok, sorry missed that. So I take debhelper is also wrong by doing
%dir %{perl_vendorlib}/Debian
%{perl_vendorlib}/Debian/Debhelper

-> Filed #1064783.


Spec URL: http://smani.fedorapeople.org/review/dh-autoreconf.spec
SRPM URL: http://smani.fedorapeople.org/review/dh-autoreconf-9-2.fc21.src.rpm

* Thu Feb 13 2014 Sandro Mani <manisandro> - 9-2
- Fix %%{perl_vendorlib} directory ownership

Comment 6 Sandro Mani 2014-02-20 14:28:43 UTC
cdbs is now build for rawhide and f20.

Comment 7 Zbigniew Jędrzejewski-Szmek 2014-02-20 15:17:06 UTC
rpmlint says:
dh-autoreconf.src: E: description-line-too-long C For CDBS users, a rule is provided to call the dh-autoreconf programs at the right time.

The line should probably be wrapped.

No issues → package is APPROVED.

Comment 8 Sandro Mani 2014-02-20 15:43:42 UTC
Thanks! I'll fix the description line when importing.

New Package SCM Request
=======================
Package Name: dh-autoreconf
Short Description: debhelper add-on to call autoreconf and clean up after the build
Owners: smani
Branches: f20
InitialCC:

Comment 9 Gwyn Ciesla 2014-02-20 16:56:07 UTC
Git done (by process-git-requests).

Comment 10 Fedora Update System 2014-02-20 17:47:13 UTC
dh-autoreconf-9-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/dh-autoreconf-9-2.fc20

Comment 11 Fedora Update System 2014-02-22 01:03:00 UTC
dh-autoreconf-9-2.fc20 has been pushed to the Fedora 20 testing repository.

Comment 12 Fedora Update System 2014-03-02 03:41:37 UTC
dh-autoreconf-9-2.fc20 has been pushed to the Fedora 20 stable repository.


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