Bug 226008 - Merge Review: libgcrypt
Summary: Merge Review: libgcrypt
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact: Fedora Package Reviews List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-01-31 19:21 UTC by Nobody's working on this, feel free to take it
Modified: 2010-02-03 13:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-03 13:55:49 UTC
Type: ---
Embargoed:
mitr: fedora-review+


Attachments (Terms of Use)

Description Nobody's working on this, feel free to take it 2007-01-31 19:21:59 UTC
Fedora Merge Review: libgcrypt

http://cvs.fedora.redhat.com/viewcvs/devel/libgcrypt/
Initial Owner: nalin

Comment 1 Miloslav Trmač 2010-02-03 00:08:33 UTC
rpmlint:
> libgcrypt.src: W: strange-permission hobble-libgcrypt 0755
> libgcrypt.x86_64: W: no-documentation
Include license text at the very minimum - see below; including AUTHORS ChangeLog NEWS README (?) THANKS TODO wouldn't hurt either.
> libgcrypt.x86_64: W: hidden-file-or-dir /lib64/.libgcrypt.so.11.hmac
See recent discussion on fedora-devel

* libgcrypt-devel contains files under GPLv2+: gcrypt.{texi,info},dumpsexp.c
  => use "License: GPLv2+", or perhaps better "License: GPLv2+ and LGPLv2+",
  or split the package

* libgcrypt should contain %doc COPYING.LIB,
  libgcrypt-devel %doc COPYING

* "The BuildRoot value MUST be below %{_tmppath}/ and MUST contain at least %{name}, %{version} and %{release}:" - %release is not used

* Can you avoid %makeinstall? src/Makefile.in seems to support DESTDIR.

* Use %global instead of %define

* https://fedoraproject.org/wiki/Packaging/Guidelines#All_patches_should_have_an_upstream_bug_link_or_comment

Comment 2 Tomas Mraz 2010-02-03 08:36:45 UTC
(In reply to comment #1)
> rpmlint:
> > libgcrypt.src: W: strange-permission hobble-libgcrypt 0755
> > libgcrypt.x86_64: W: no-documentation
> Include license text at the very minimum - see below; including AUTHORS
> ChangeLog NEWS README (?) THANKS TODO wouldn't hurt either.
Fixed. (I did not include ChangeLog and README as they are not much useful.)

> > libgcrypt.x86_64: W: hidden-file-or-dir /lib64/.libgcrypt.so.11.hmac
> See recent discussion on fedora-devel
Technically this file (in contrary to the .hmac files in bin dirs) does not break the FHS. It is still not completely decided where this file should live in case of libgcrypt as the library is not in %{_libdir} but in /%{_lib}

> * libgcrypt-devel contains files under GPLv2+: gcrypt.{texi,info},dumpsexp.c
>   => use "License: GPLv2+", or perhaps better "License: GPLv2+ and LGPLv2+",
>   or split the package
Fixed.

> * libgcrypt should contain %doc COPYING.LIB,
Fixed.

>   libgcrypt-devel %doc COPYING
Fixed.

> * "The BuildRoot value MUST be below %{_tmppath}/ and MUST contain at least
> %{name}, %{version} and %{release}:" - %release is not used
Fixed.

> * Can you avoid %makeinstall? src/Makefile.in seems to support DESTDIR.
Fixed.

> * Use %global instead of %define
Not fixed. This is not a MUST and here the %define works fine and will work fine in future rpm versions as well.

> *
> https://fedoraproject.org/wiki/Packaging/Guidelines#All_patches_should_have_an_upstream_bug_link_or_comment    
I've added a comment.

Here is a new build with the problems fixed.
http://koji.fedoraproject.org/koji/taskinfo?taskID=1960493

Comment 3 Miloslav Trmač 2010-02-03 13:17:05 UTC
Thanks, approved; I expect the *.hmac file location will eventually be updated after the final location is clear.

Comment 4 Tomas Mraz 2010-02-03 13:55:49 UTC
Yes, thanks.


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