Bug 789660 - Review Request : xcftools - Command-line tools for extracting information from XCF files
Summary: Review Request : xcftools - Command-line tools for extracting information fro...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Brendan Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-12 05:07 UTC by Narasimhan
Modified: 2012-03-21 18:40 UTC (History)
3 users (show)

Fixed In Version: phatch-0.2.7-10.fc17
Clone Of:
Environment:
Last Closed: 2012-03-21 18:40:11 UTC
Type: ---
Embargoed:
brendan.jones.it: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Narasimhan 2012-02-12 05:07:08 UTC
SRPM link:
http://narasim.fedorapeople.org/package_reviews/xcftools-1.0.7-3.fc16.src.rpm

Spec file link
http://narasim.fedorapeople.org/package_reviews/xcftools.spec

rpmlint output:
rpmlint  -i xcftools-1.0.7-3.fc16.x86_64.rpm xcftools-debuginfo-1.0.7-3.fc16.x86_64.rpm xcftools-1.0.7-3.fc16.src.rpm  ../xcftools.spec 
3 packages and 1 specfiles checked; 0 errors, 0 warnings.

Required for phatch.

Comment 2 Brendan Jones 2012-02-13 11:27:31 UTC
I will take this review

Comment 3 Brendan Jones 2012-02-13 11:46:51 UTC
%defattr(-,root,root,-) is no longer required in the %files section

Wouldn't hurt to be a little more specific in the files section

%{_mandir}/man1/xcf*.1.gz
%{_mandir}/da/man1/xcf*.1.gz

When building I get the following errors x 2. Can you just confirm that this is expected:

/bin/sh: command substitution: line 2: syntax error: unexpected end of file
/bin/sh: command substitution: line 2: syntax error: unexpected end of file
/bin/sh: command substitution: line 2: syntax error: unexpected end of file
/bin/sh: command substitution: line 2: syntax error: unexpected end of file

Comment 4 Narasimhan 2012-02-13 13:20:28 UTC
Thanks,

>Wouldn't hurt to be a little more specific in the files section
Sure, will change it.

>When building I get the following errors x 2. Can you just confirm that this is
I  built it on f16 via rpmbuild and the build went through. Rawhide builds ok as well. Will give it a try again.

Comment 5 Narasimhan 2012-02-14 01:06:29 UTC
Looks like the errors are there in koji build as well but they are not getting propagated back to rpmbuild. I will look into it.

Thanks

Comment 6 Narasimhan 2012-02-18 08:18:38 UTC
Here is the explanation of the error,

In configure script generated by autoconf, there is a variable called program_transform_name initialized to s,x,x. This variable is intended to be passed to sed to modify the executable name. While doing a ./configure, if the user passes --program-prefix=xyz, then the program_transform_name is modified as s,^,xyz. And if we do not pass --program-prefix at all, it takes the default (s,x,x). Now the makefile which is using this variable should not be affected if  --program-prefix is not passed at all.

From rpmbuild, calling %configure expands to ./configure <someoptions> --program-prefix= .Since an empty prefix is passed,  program_transform_name gets assigned to s&^&&. The makefile that uses the program_transform_name variable encounters the command substitution error.

It is not necessary have to use program_transform_name variable in the Makefile because configure is passing a empty prefix anyway. I have created a patch that modifies the makefile to just copy the binaries into the destination directories instead of trying to use the program_transform_name variable.


Spec file:
http://narasim.fedorapeople.org/package_reviews/xcftools.spec

Srpm file:
http://narasim.fedorapeople.org/package_reviews/xcftools-1.0.7-4.fc15.src.rpm

Comment 8 Brendan Jones 2012-02-18 08:40:02 UTC
This package is APPROVED

Legend:
[+] OK
[!] Requires attention
[-] Not applicable
[N] Not evaluated


Required
========

[+] named according to the Package Naming Guidelines 
[+] The spec file name must match the base package %{name}, in the format
%{name}.spec 
[+] Meet the Packaging Guidelines  
[+] Be licensed with a Fedora approved license and meet the Licensing
Guidelines 
[+] The License field in the package spec file must match the actual license 
[+] License file must be included in %doc
[+] The spec file must be written in American English
[+] The spec file for the package MUST be legible
[+] The sources used to build the package must match the upstream source
fd960b6470fb23520fc4b1ade6cf6e25 OK
[+] Successfully compile and build into binary rpms on at least one primary
architecture
[+] Proper use of ExcludeArch 
[+] All build dependencies must be listed in BuildRequires
[+] The spec file MUST handle locales properly
[-] Shared library files (not just symlinks) in any of the dynamic linker's
default paths, must call ldconfig in %post and %postun
[+] Packages must NOT bundle copies of system libraries
[-] If the package is designed to be relocatable, the packager must state this
fact in the request for review, along with the rationalization for relocation
of that specific package
[+] A package must own all directories that it creates
directories under this
[+] A Fedora package must not list a file more than once in the spec file's
%files listings
[+] Permissions on files must be set properly. Every %files section must
include a %defattr(...) line
[+] Each package must consistently use macros
[+] The package must contain code, or permissable content
[-] Large documentation files must go in a -doc subpackage
[+] If a package includes something as %doc, it must not affect the runtime of
the application
[+] Header files must be in a -devel package
[-] Static libraries must be in a -static package
[+] library files that end in .so (without suffix) must go in a -devel package
[+] devel packages must require the base package using a fully versioned
dependency
[+] Packages must NOT contain any .la libtool archives
[-] GUI apps must include a %{name}.desktop file, properly installed with
desktop-file-install in the %install section 
[+] Packages must not own files or directories already owned by other packages
[+] All filenames in rpm packages must be valid UTF-8

Should Items
============
[-] the packager SHOULD query upstream for any missing license text files to
include it
[-] Non-English language support for description and summary sections in the
package spec if available
[+] The reviewer should test that the package builds in mock
[+] The package should compile and build into binary rpms on all supported
architectures
[N] The reviewer should test that the package functions as described
[+] If scriptlets are used, those scriptlets must be sane
[-] Usually, subpackages other than devel should require the base package using
a fully versioned dependency
[+] The placement of pkgconfig(.pc) should usually be placed in a -devel pkg
[-] If the package has file dependencies outside of /etc, /bin, /sbin,
/usr/bin, or /usr/sbin consider requiring the package which provides the file
instead of the file itself
[-] Should contain man pages for binaries/scripts

Comment 9 Narasimhan 2012-02-18 14:57:45 UTC
Thanks,

Please unretire devel branch.

Package Change Request
======================
Package Name: xcftools
New Branches: f17
Owners: narasim

Comment 10 Narasimhan 2012-02-18 16:06:03 UTC
Thanks  for the review.

Comment 11 Gwyn Ciesla 2012-02-19 20:46:30 UTC
Git done (by process-git-requests).

Unretired, created f17.  Take ownership.

Comment 12 Fedora Update System 2012-03-08 05:05:42 UTC
xcftools-1.0.7-4.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/xcftools-1.0.7-4.fc17

Comment 13 Fedora Update System 2012-03-08 05:53:30 UTC
xcftools-1.0.7-4.fc17 has been pushed to the Fedora 17 testing repository.

Comment 14 Fedora Update System 2012-03-16 12:57:51 UTC
phatch-0.2.7-10.fc17,xcftools-1.0.7-5.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/phatch-0.2.7-10.fc17,xcftools-1.0.7-5.fc17

Comment 15 Fedora Update System 2012-03-16 19:02:54 UTC
phatch-0.2.7-10.fc17, xcftools-1.0.7-5.fc17 has been pushed to the Fedora 17 testing repository.

Comment 16 Fedora Update System 2012-03-21 18:40:11 UTC
phatch-0.2.7-10.fc17, xcftools-1.0.7-5.fc17 has been pushed to the Fedora 17 stable repository.


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