Bug 225661 - Merge Review: createrepo
Summary: Merge Review: createrepo
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: createrepo
Version: 23
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Package Reviews List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-01-31 17:53 UTC by Nobody's working on this, feel free to take it
Modified: 2016-12-20 11:55 UTC (History)
4 users (show)

Fixed In Version: 0.4.6-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-20 11:55:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nobody's working on this, feel free to take it 2007-01-31 17:53:00 UTC
Fedora Merge Review: createrepo

http://cvs.fedora.redhat.com/viewcvs/devel/createrepo/
Initial Owner: pnasrat

Comment 1 Roozbeh Pournader 2007-02-03 23:32:41 UTC
Taking for review.

Comment 2 Roozbeh Pournader 2007-02-04 01:24:37 UTC
GOOD
====
MUST: naming is fine
MUST: spec filename matches %{name}
MUST: free software
MUST: License matches actual license (GPL)
MUST: neither source package nor RPM contain the license file
MUST: source matches upstream (md5sum checked)
MUST: compiled and built as noarch
MUST: no ExcludeArch
MUST: no real build dep, instead of the minimum gang
MUST: no locales
MUST: not a lib, so no ldconfig
MUST: not relocatable
MUST: owns its dirs
MUST: no dup files
MUST: clean section fine
MUST: macro use consistent
MUST: no large docs
MUST: docs don't affect runtime
MUST: no header, libs or devel package
MUST: not GUI
MUST: doesn't own others' dirs

BAD / COULD BE BETTER
=====================
MUST: rpmlint output
  * SRPM:
    W: createrepo no-%build-section

  rpmlint suggests you add an empty %build section anyway.

  * RPM:
    E: createrepo explicit-lib-dependency libxml2-python

  I think this is a false hit.

MUST: US English
  * The description field should have a period at the end.

MUST: spec file legiblity
  * The scriptlet check for RPM_BUILD_ROOT for not being equal to / is
    unnecessary and obsfucating. The value of that variable may as well be
    equal to /lib or /etc and destroy a system. Never run rpmbuild as root!

MUST: file permissions
  *  %defattr should be changed to %defattr(-, root, root, -), i.e., extra
     "-" at the end.

MUST: Packaging Guidelines
  * The dependency on rpm should be changed to ">= 4.1.1", as current rpm
    in Rawhide doesn't have any epoch.

  * Source tag should be change to include full URL:
    http://linux.duke.edu/projects/metadata/generate/%{name}-%{version}.tar.gz

  * BuildRoot should be changed to:
    %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

  * %makeinstall should be replaced with:
    make DESTDIR=$RPM_BUILD_ROOT install

  * Instead of:
    %dir %{_datadir}/%{name}
    %{_datadir}/%{name}/*

    you can simply do:
    %{_datadir}/%{name}

SHOULD: Upstream should be pinged to add license file (GPL) to package

Other:
   * 'sources' and '.cvsignore' files (in CVS) contain lots of old versions.
      Remove older versions.


Comment 3 Roozbeh Pournader 2007-02-04 16:23:48 UTC
From an email by Michael Schwendt regarding the directory and its files:
> Even better:
>
>   %{_datadir}/%{name}/
>
> The extra slash at the end makes it clear that you want to include
> a directory and not an ordinary file.


Comment 4 Paul Nasrat 2007-02-05 11:55:59 UTC
I've got commit access upstream so will add copying for next release. I've
addresssed the other points.

Comment 5 Roozbeh Pournader 2007-02-05 13:26:57 UTC
(In reply to comment #4)
> I've addresssed the other points.
Did you commit the changes?

Comment 6 Roozbeh Pournader 2007-02-05 13:59:31 UTC
(In reply to comment #5)
> Did you commit the changes?

Ah, the anonymous CVS is delayed for two hours!

All fine now. The only remaining issues are using the full source URL in the
"Source" line, and including the license file in the package. None of them are
blockers, so I approve the package. But please consider fixing both issues.

Final rpmlint output:
E: createrepo explicit-lib-dependency libxml2-python

which I believe is fine.


Comment 7 Roozbeh Pournader 2007-02-06 14:28:18 UTC
Ropening in case the author wishes to do something about the changes suggested
in comment #6. (fedora-review remains approved.)

Comment 8 Red Hat Bugzilla 2007-08-21 05:31:30 UTC
User pnasrat's account has been closed

Comment 10 Cole Robinson 2015-02-11 20:35:52 UTC
Mass reassigning all merge reviews to their component. For more details, see this FESCO ticket:

  https://fedorahosted.org/fesco/ticket/1269

If you don't know what merge reviews are about, please see:

  https://fedoraproject.org/wiki/Merge_Reviews

How to handle this bug is left to the discretion of the package maintainer.

Comment 11 Jan Kurik 2015-07-15 15:27:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 12 Fedora End Of Life 2016-11-24 10:17:45 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 13 Fedora End Of Life 2016-12-20 11:55:28 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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