Bug 713963 - Review Request: rpkg - Utility for interacting with rpm+git packaging systems
Summary: Review Request: rpkg - Utility for interacting with rpm+git packaging systems
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: leigh scott
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-16 22:18 UTC by Jesse Keating
Modified: 2013-01-10 03:35 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-28 22:43:11 UTC
Type: ---
Embargoed:
leigh123linux: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Jesse Keating 2011-06-16 22:18:01 UTC
Spec URL: http://jkeating.fedorapeople.org/review/rpkg.spec
SRPM URL: http://jkeating.fedorapeople.org/review/rpkg-1.0-1.f14.src.rpm
Description: A tool for managing RPM package sources in a git repository

Comment 1 leigh scott 2011-06-17 17:38:09 UTC
this needs changing from

%files -n pyrpkg
%doc COPYING README
# For noarch packages: sitelib
%{python_sitelib}/*



to


%files -n pyrpkg
%defattr(-,root,root,-)
%doc COPYING README
%{python_sitelib}/pyrpkg
%{python_sitelib}/rpkg-1.0-py?.?.egg-info


as far as I know you should remove the comment from "rm -rf $RPM_BUILD_ROOT" in the install section.


make these changes and I will approve it

Comment 2 leigh scott 2011-06-17 17:48:34 UTC
Another point 

BuildArch:      noarch
BuildRequires:  python-devel, python-setuptools
# We br these things for man page generation due to imports
BuildRequires:  GitPython, koji, python-pycurl
%if 0%{?rhel} == 5 || 0%{?rhel} == 4
BuildRequires:  python-hashlib
BuildRequires:  python-argparse
%endif


needs to be 


BuildArch:      noarch
BuildRequires:  python-devel, python-setuptools
# We br these things for man page generation due to imports
BuildRequires:  GitPython, koji, python-pycurl
%if 0%{?rhel} == 6 || 0%{?rhel} == 4
BuildRequires:  python-hashlib
BuildRequires:  python-argparse
%endif


to build on RHEL6

Comment 3 Jesse Keating 2011-06-17 18:20:34 UTC
Good catches.  That's what I get for uploading specs late at night.  New stuff uploaded:

Spec URL: http://jkeating.fedorapeople.org/review/rpkg.spec
SRPM URL: http://jkeating.fedorapeople.org/review/rpkg-1.0-2.f14.src.rpm

the defattr stuff is actually not necessary anymore.  Rpm since 4.4 has a sane default.

Comment 4 leigh scott 2011-06-17 18:32:36 UTC
(In reply to comment #3)

> the defattr stuff is actually not necessary anymore.  Rpm since 4.4 has a sane
> default.

Thanks for the info.
Sadly rpmlint on el6 still sees it as a error (when I get time I will file a bugreport against rpmlint).

[leigh@main_pc SPECS]$ rpmlint rpkg-1.0-1.el6.src.rpm
rpkg.src: I: enchant-dictionary-not-found en_US
rpkg.src:74: E: files-attr-not-set
rpkg.src:75: E: files-attr-not-set
rpkg.src:76: E: files-attr-not-set


P.S you forgot to update the spec file

Comment 5 Jesse Keating 2011-06-17 18:43:12 UTC
Do you have a proxy or something setup?  I did put a new spec file up there, and just checked it in my browser, it has the right content.

Comment 8 leigh scott 2011-06-17 19:14:10 UTC
source sha1sum matches upstream
spec file conforms to packaging guide lines
licence is acceptable and correct
builds ok @ koji for F16 http://koji.fedoraproject.org/koji/taskinfo?taskID=3139353


Package approved

Comment 9 Jesse Keating 2011-06-17 23:20:19 UTC
New Package SCM Request
=======================
Package Name: rpkg
Short Description: Utility for interacting with rpm+git packaging systems
Owners: jkeating
Branches: f14 f15 el6 el5
InitialCC:

Comment 10 Gwyn Ciesla 2011-06-18 00:16:18 UTC
Git done (by process-git-requests).

Comment 11 Jesse Keating 2011-06-28 22:43:11 UTC
Built for rawhide.


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