[Bug 1386938] Review Request: libprelude - Prelude Library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1386938

Zbigniew Jędrzejewski-Szmek <zbyszek@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |zbyszek@xxxxxxxxx
           Assignee|nobody@xxxxxxxxxxxxxxxxx    |zbyszek@xxxxxxxxx
              Flags|                            |fedora-review?



--- Comment #7 from Zbigniew Jędrzejewski-Szmek <zbyszek@xxxxxxxxx> ---
Please don't use pastebin for spec files. It's too ephemeral. Also, link to the
"raw" spec file, so that fedora-review and other tools work.

In Fedora, we only package the latest version of any library (in the usual
case; it's possible to provide "compat" packages, but this doesn't apply here).
So the library subpackage should go away, and the contents should be in the
main package. Similarly for the cpp subpackage, it should not have the version
in the name.

Please consider reducing the number of macros. They provide no value, and make
everything very hard to read. The guidelines say that macros should be used for
*directory* names, and using macros for things which cannot ever change is
pointless [https://fedoraproject.org/wiki/Packaging:Guidelines#Macros].

You probably don't need to repeat the full %description for libpreludecpp, but
you should mention how this subpackage is different from the main subpackage.

%package -n prelude-tools
Summary:        The interface for %{libname}
→
Summary:        Command-line tools for libprelude

python2 subpackage should be called python2-prelude.
%{python_provide} must be used
[https://fedoraproject.org/wiki/Packaging:Python#The_.25python_provide_macro].

%setup -q
%autopatch -p1
→ %autosetup -p1

%{_bindir}/chrpath → chrpath (see the link to guidelines for macro usage
above).

It is better to avoid using wildcards in the %files section to have an idea
what is installed with the package. Doing the following change would make it
more safe (same for python3 subpackage):

> %{python2_sitelib}/*

change to

%{python2_sitelib}/whatever
%{python2_sitelib}/whatever-%{version}-py?.?.egg-info

The license files and the basic documentation (AUTHORS ChangeLog README NEWS
LICENSE.README HACKING.README) goes in the main subpackage.

The package looks good for such a complicated project. I think you're 90% of
the way there ;)

--

I can sponsor you into the packagers group. In addition to the package that you
are submitting, I require two-three real reviews of other packages (see
http://fedoraproject.org/PackageReviewStatus/NEW.html). There's plenty of
python packages awaiting review, so you should be able to find something
interesting without any trouble. In your review, please indicate that you are
not a packager yet, hence the review is unofficial. If nobody beats you to it,
you'll be able to finalize those reviews after you become a packager (hopefully
soon ;)). Running fedora-review and carefully looking at the output is a good
start.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]