Bug 1506405 - Review Request: python-rstcheck - Checks syntax of reStructuredText and code blocks nested within it
Summary: Review Request: python-rstcheck - Checks syntax of reStructuredText and code ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Igor Gnatenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-25 22:47 UTC by Ankur Sinha (FranciscoD)
Modified: 2017-11-11 03:07 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-11-07 22:17:14 UTC
Type: ---
Embargoed:
ignatenko: fedora-review+


Attachments (Terms of Use)

Description Ankur Sinha (FranciscoD) 2017-10-25 22:47:40 UTC
Spec URL: https://ankursinha.fedorapeople.org/python-rstcheck/python-rstcheck.spec
SRPM URL: https://ankursinha.fedorapeople.org/python-rstcheck/python-rstcheck-3.1-1.fc27.src.rpm

Description: 
Checks syntax of reStructuredText and code blocks nested within it

Fedora Account System Username: ankursinha

Comment 1 Ankur Sinha (FranciscoD) 2017-10-25 22:48:13 UTC
I maintain a copr here from which built rpm's can be tested:
https://copr.fedorainfracloud.org/coprs/ankursinha/python-rstcheck/

Comment 2 Igor Gnatenko 2017-10-26 06:24:33 UTC
What's the point of having py2 and py3 binary?

Comment 3 Ankur Sinha (FranciscoD) 2017-10-26 09:31:31 UTC
Thanks for taking up the review! Ah, yeh - no need for that here. Updated to only ship py3 binary, spec/srpm:

https://ankursinha.fedorapeople.org/python-rstcheck/python-rstcheck.spec

https://ankursinha.fedorapeople.org/python-rstcheck/python-rstcheck-3.1-2.fc27.src.rpm

Comment 4 Igor Gnatenko 2017-10-26 11:28:01 UTC
> BuildRequires:  python2-devel python3-devel
> BuildRequires:  python2-docutils python3-docutils
> Requires:   python2-docutils python3-docutils
Move those to appropriate subpackages.

> %global     sum     Checks syntax of reStructuredText and code blocks nested within it
you can define Summary and use text using %{summary}.

> %{python2_sitelib}/*
> %{python3_sitelib}/*
Be more specific, by this you start owning some subdirectories you shouldn't.

Comment 6 Igor Gnatenko 2017-10-27 07:53:13 UTC
* Missing BuildRequires: pythonX-setuptools

> URL:        https://github.com/myint/%{srcname}
My personal preference to have URL clickable

> %{python2_sitelib}/%{srcname}-%{version}-py2.?.egg-info
> %{python3_sitelib}/%{srcname}-%{version}-py3.?.egg-info
%{python2_sitelib}/%{srcname}-*.egg-info/
%{python3_sitelib}/%{srcname}-*.egg-info/

(note slash at the end)

> %{python3_sitelib}/%{srcname}.py*
%{python3_sitelib}/%{srcname}.py

> %{python3_sitelib}/__pycache__/%{srcname}.cpython*pyc
%{python3_sitelib}/__pycache__/%{srcname}.*

---

This is trivial to fix during the import. APPROVED.

Comment 7 Ankur Sinha (FranciscoD) 2017-10-27 09:22:28 UTC
Thanks for the review! Updated as per above comments:

https://ankursinha.fedorapeople.org/python-rstcheck/python-rstcheck.spec

https://ankursinha.fedorapeople.org/python-rstcheck/python-rstcheck-3.1-4.fc27.src.rpm

Proceeding with fedrepo-req now.

Cheers!

Comment 8 Gwyn Ciesla 2017-10-27 12:48:35 UTC
(fedrepo-req-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/python-rstcheck

Comment 9 Fedora Update System 2017-10-27 13:43:02 UTC
python-rstcheck-3.1-4.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-81ca3751bc

Comment 10 Fedora Update System 2017-10-27 14:48:11 UTC
python-rstcheck-3.1-4.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-49d1798ba8

Comment 11 Fedora Update System 2017-10-27 18:50:19 UTC
python-rstcheck-3.1-4.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-49d1798ba8

Comment 12 Fedora Update System 2017-10-28 12:33:37 UTC
python-rstcheck-3.1-4.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-81ca3751bc

Comment 13 Fedora Update System 2017-11-07 22:17:14 UTC
python-rstcheck-3.1-4.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2017-11-11 03:07:37 UTC
python-rstcheck-3.1-4.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


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