Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 912381 Details for
Bug 1113449
[patch] introduce python3-jsonpatch subpackage
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fixed patch for python-jsonpatch python 3 support
jsonpatch-python3-subpackage-v2.patch (text/plain), 2.27 KB, created by
Bohuslav "Slavek" Kabrda
on 2014-06-26 09:29:29 UTC
(
hide
)
Description:
Fixed patch for python-jsonpatch python 3 support
Filename:
MIME Type:
Creator:
Bohuslav "Slavek" Kabrda
Created:
2014-06-26 09:29:29 UTC
Size:
2.27 KB
patch
obsolete
>diff --git a/python-jsonpatch.spec b/python-jsonpatch.spec >index f201e25..1a5b443 100644 >--- a/python-jsonpatch.spec >+++ b/python-jsonpatch.spec >@@ -2,10 +2,11 @@ > %global github_name python-json-patch > %global commit f6f3cd235337209fc96b71316215a40d1cd3026c > %global shortcommit %(c=%{commit}; echo ${c:0:7}) >+%global with_python3 1 > > Name: python-%{pypi_name} > Version: 1.2 >-Release: 3%{?dist} >+Release: 4%{?dist} > Summary: Applying JSON Patches in Python > > License: BSD >@@ -21,26 +22,73 @@ BuildRequires: python-jsonpointer > Requires: python-jsonpointer > > %description >-Library to apply JSON Patches according to RFC 6902. >+Library to apply JSON Patches according to RFC 6902 - Python 2 build. >+ >+%if 0%{?with_python3} >+%package -n python3-%{pypi_name} >+Summary: Applying JSON Patches in Python 3 >+ >+BuildRequires: python3-devel >+BuildRequires: python3-setuptools >+BuildRequires: python3-jsonpointer >+Requires: python3-jsonpointer >+ >+%description -n python3-%{pypi_name} >+Library to apply JSON Patches according to RFC 6902 - Python 3 build. >+%endif > > %prep > %setup -qn %{github_name}-%{commit} > >+%if 0%{?with_python3} >+rm -rf %{py3dir} >+cp -a . %{py3dir} >+%endif >+ > %build > %{__python} setup.py build > >+%if 0%{?with_python3} >+pushd %{py3dir} >+LANG=en_US.utf8 %{__python3} setup.py build >+popd >+%endif >+ > %install > %{__python} setup.py install --skip-build --root %{buildroot} > >+%if 0%{?with_python3} >+pushd %{py3dir} >+LANG=en_US.utf8 %{__python3} setup.py install --skip-build --root %{buildroot} >+popd >+%endif >+ > %check > %{__python} tests.py > >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} tests.py >+popd >+%endif >+ > %files > %doc README.md COPYING > %{python_sitelib}/%{pypi_name}.py* > %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info > >+%if 0%{?with_python3} >+%files -n python3-%{pypi_name} >+%doc README.md COPYING >+%{python3_sitelib}/%{pypi_name}.py* >+%{python3_sitelib}/__pycache__/* >+%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info >+%endif >+ > %changelog >+* Thu Jun 26 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.2-4 >+- Introduce python3- subpackage. >+ > * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1113449
:
912375
| 912381