Bug 1003694

Summary: Review Request: python-w3lib - Library of web-related functions
Product: [Fedora] Fedora Reporter: Daniel Bruno <dbruno>
Component: Package ReviewAssignee: Christopher Meng <i>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dbruno, i, mail, notting
Target Milestone: ---Flags: i: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-14 03:37:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Bruno 2013-09-02 19:22:38 UTC
Spec URL: http://dbruno.fedorapeople.org/w3lib/python-w3lib.spec
SRPM URL: http://dbruno.fedorapeople.org/w3lib/python-w3lib-1.3-1.fc19.src.rpm

Description: This is a Python library of web-related functions, such as:
  remove comments, or tags from HTML snippets
  extract base url from HTML snippets
  translate entites on HTML strings
  encoding mulitpart/form-data
  convert raw HTTP headers to dicts and vice-versa
  construct HTTP auth header
  converting HTML pages to unicode
  RFC-compliant url joining
  sanitize urls (like browsers do)
  extract arguments from urls


Fedora Account System Username: dbruno

Comment 1 Christopher Meng 2013-09-02 23:45:54 UTC
Are you going to support EL5/6?

Comment 2 Daniel Bruno 2013-09-03 02:15:05 UTC
Yes.

Comment 3 Christopher Meng 2013-09-03 02:48:44 UTC
1. Email address should be enclosed by <>, you can see we all do this.

2. Why do you want to support epel5? Don't you know w3lib only supports Python 2.6 or 2.7 and el5 only have 2.4.3?

3. %description is not good,

This is a Python library of web-related functions, such as:
  remove comments, or tags from HTML snippets
  extract base url from HTML snippets
  translate entites on HTML strings
  encoding mulitpart/form-data
  convert raw HTTP headers to dicts and vice-versa
  construct HTTP auth header
  converting HTML pages to unicode
  RFC-compliant url joining
  sanitize urls (like browsers do)
  extract arguments from urls

should be

This is a Python library of web-related functions, such as:
- Remove comments, or tags from HTML snippets
- Extract base url from HTML snippets
- Translate entites on HTML strings
- Encoding mulitpart/form-data
- Convert raw HTTP headers to dicts and vice-versa
- Construct HTTP auth header
- Converting HTML pages to unicode
- RFC-compliant url joining
- Sanitize urls (like browsers do)
- Extract arguments from urls

4. BuildRequires:  python-devel 

should be 

BuildRequires:  python2-devel

Comment 4 Daniel Bruno 2013-09-05 16:10:09 UTC
Spec URL: http://dbruno.fedorapeople.org/w3lib/python-w3lib.spec
SRPM URL: http://dbruno.fedorapeople.org/w3lib/python-w3lib-1.3-1.fc19.src.rpm

1. Fixed

2. I'm sorry, I mistook with another package that i'm working.

3. Fixed

4. Fixed

Comment 5 Christopher Meng 2013-09-06 03:57:42 UTC
If this doesn't support EPEL5(As I've said it really does), please remove:

1. BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

2. rm -rf %{buildroot} in %install

3. Whole %clean section

4. %defattr(-,root,root,-)

5. %if 0%{?fedora} < 13 || 0%{?rhel} < 6
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif

And, bump your spec release number to 2 if you like.

Comment 7 Christopher Meng 2013-09-09 09:28:51 UTC
New issues:

1.We just get news that %{__python} is deprecated like python-devel, now it's better to use %{__python2}.

2.If nothing in %clean, don't mention it anymore.

Well before I run fedora-review later, you don't need to fix them. Please fix above issues after I return the result of fedora-review.

Comment 8 Fabian Affolter 2013-09-09 18:39:30 UTC
*** Bug 1005769 has been marked as a duplicate of this bug. ***

Comment 9 Christopher Meng 2013-09-10 10:05:20 UTC
Seems you've corrected them, nice.

1. CLEAN rm -rf %{buildroot} IN %install SECTION BEFORE SCM.

2. python-w3lib.noarch: W: spelling-error %description -l en_US unicode -> Unicode, uni code, uni-code

APPROVED.

Comment 10 Daniel Bruno 2013-09-11 04:12:59 UTC
New Package SCM Request
=======================
Package Name: python-w3lib
Short Description: Library of web-related functions
Owners: dbruno
Branches: f18 f19 f20
InitialCC:

Comment 11 Gwyn Ciesla 2013-09-11 12:07:49 UTC
Git done (by process-git-requests).

Comment 12 Christopher Meng 2013-10-21 03:05:52 UTC
Hi,

It seems that you never build it for rawhide.

Did you forget to do that?

Thanks.

Comment 13 Daniel Bruno 2013-11-10 04:43:44 UTC
Hello,

I was looking in the logs, and I believe that I did it.

I'm sorry for the late response.

Comment 14 Christopher Meng 2013-11-10 04:46:57 UTC
(In reply to Daniel Bruno from comment #13)
> Hello,
> 
> I was looking in the logs, and I believe that I did it.
> 
> I'm sorry for the late response.

Have a nice weekend.

But I can see that it's not.

Please search at http://dl.fedoraproject.org or http://pkgs.org

Comment 15 Christopher Meng 2013-11-10 04:49:03 UTC
And you never do what I've told you in comment 9:

Remove rm -rf %{buildroot}

Comment 16 Daniel Bruno 2013-11-12 13:43:12 UTC
(In reply to Christopher Meng from comment #15)
> And you never do what I've told you in comment 9:
> 
> Remove rm -rf %{buildroot}

Hello,

The package was already built to rawhide.

So, about comment 9, do you recommend to build the package again without this line, or just do it in the next release?

Thank you

Comment 17 Christopher Meng 2013-11-12 14:06:55 UTC
Do it in the next release, fix it in git.

Comment 18 Christopher Meng 2013-11-14 03:37:07 UTC
OK. I saw you built it in Koji, fine now.