Bug 538673 - Review Request: libunistring - GNU Unicode string library
Summary: Review Request: libunistring - GNU Unicode string library
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Parag AN(पराग)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-19 02:58 UTC by Pádraig Brady
Modified: 2009-12-09 06:16 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-12-09 06:16:17 UTC
Type: ---
Embargoed:
panemade: fedora-review+
dennis: fedora-cvs+


Attachments (Terms of Use)

Description Pádraig Brady 2009-11-19 02:58:13 UTC
Spec URL: http://www.pixelbeat.org/patches/libunistring/libunistring.spec
SRPM URL: http://www.pixelbeat.org/patches/libunistring/libunistring-0.9.1-1.fc11.src.rpm
Description: This is a new portable unicode library by Bruno Haible and is used in Guile and soon to be used in coreutils. It's already included in debian and mandrake.

Comment 1 Pádraig Brady 2009-11-19 08:56:05 UTC
Oops, obviously the package name is libunistring not libunitstring.
Also adding Jim and Bruno to CC

Comment 2 Jim Meyering 2009-11-19 10:17:30 UTC
Thanks!  I'll take it.  Corrected the title.

Comment 3 Parag AN(पराग) 2009-11-19 11:14:44 UTC
oops while working on this review I guess Jim already took this. Anyway here is my review work
Review:
+ package builds in mock (rawhide i686).
koji Build =>http://koji.fedoraproject.org/koji/taskinfo?taskID=1815778
+ rpmlint is silent for SRPM and for RPM.
+ source files match upstream url (sha1sum)
75e9d6f79a321a62497f1808db35a1b52b7ba765  libunistring-0.9.1.tar.gz
+ package meets naming and packaging guidelines.
+ specfile is properly named, is cleanly written
+ Spec file is written in American English.
+ Spec file is legible.
+ dist tag is present.
+ license is open source-compatible.
+ License text is included in package.
+ %doc is present.
+ %clean is present.
+ package installed properly.
+ Package contains code, not content.
+ no .pc file present.
+ -devel subpackage present.
+ no .la files.
+ no translations are available
+ Does owns the directories it creates.
+ no duplicates in %files.
+ file permissions are appropriate.
+ Package libunistring-0.9.1-1.fc13.i686 =>
Provides: libunistring.so.0
Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4)
libunistring.so.0 rtld(GNU_HASH)
+ Package libunistring-devel-0.9.1-1.fc13.i686 =>
Requires: libunistring.so.0
+ Not a GUI application

Suggestions:
1) you can simply write description for -devel package as
Development files for programs using libunistring.

2) to preserve timestamps of upstream files that are copied as it is use
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

3)defattr for devel should be 
%defattr(-,root,root,-)

4) Good if you follow same way of writing macros as defined at
https://fedoraproject.org/wiki/Packaging/RPMMacros
though %_libdir is same as %{_libdir}

5) Use scriptlet format given at
https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#Texinfo including
changing Requires also.

6) I don't see any use of including 
Requires: pkgconfig
for -devel package. Please remove it.

7) you don't need 
BuildRequires: automake libtool
remove them.

Comment 4 Jim Meyering 2009-11-19 11:25:23 UTC
Hi Parag, you're welcome to do the review.  I didn't know you'd started.  Please reassign to yourself, if you can, or let me know and I'll do it.

Comment 5 Parag AN(पराग) 2009-11-19 12:32:32 UTC
Thanks you. I will review this. Please feel free to comment if I miss anything to check in this review.

Comment 7 Ralf Corsepius 2009-11-19 16:17:06 UTC
These
BuildRequires: glibc-devel texinfo
also not needed.

Please remove them.

Comment 8 Parag AN(पराग) 2009-11-19 16:41:55 UTC
Thanks Ralf. 

Pádraig can you please update again SRPM?
Also change following lines
rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
rm -f ${RPM_BUILD_ROOT}/%{_libdir}/%{name}.la

to

rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}.la

Comment 9 Pádraig Brady 2009-11-19 16:58:54 UTC
Now no BuildRequires at all and ${RPM_BUILD_ROOT} -> $RPM_BUILD_ROOT

http://www.pixelbeat.org/patches/libunistring/libunistring.spec
http://www.pixelbeat.org/patches/libunistring/libunistring-0.9.1-3.fc11.src.rpm

cheers

Comment 10 Parag AN(पराग) 2009-11-20 06:31:11 UTC
Looks ok now.
koji build =>http://koji.fedoraproject.org/koji/taskinfo?taskID=1818869

APPROVED.

Comment 11 Pádraig Brady 2009-11-20 15:59:02 UTC
New Package CVS Request
=======================
Package Name: libunistring
Short Description: GNU Unicode string library
Owners: pbrady meyering
Branches: F-11 F-12
InitialCC: i18n-team

Comment 12 Dennis Gilmore 2009-11-20 22:38:16 UTC
CVS Done

Comment 13 Parag AN(पराग) 2009-12-09 06:16:17 UTC
This looks already built for all branches.


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