Skip to content

Commit

Permalink
Build python-jsonschema. #483
Browse files Browse the repository at this point in the history
  • Loading branch information
mfeit-internet2 committed Aug 17, 2019
1 parent 4869f87 commit ce6f97c
Show file tree
Hide file tree
Showing 26 changed files with 11 additions and 11 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

%define short jsonschema
Name: python2-%{short}
Name: %{_pscheduler_python}-%{short}
Version: 3.0.1
Release: 1%{?dist}
Summary: JSON Schema library for Python
Expand All @@ -13,22 +13,22 @@ Group: Development/Libraries

Provides: %{name} = %{version}-%{release}
Provides: python-%{short} = %{version}-%{release}
Provides: %{_pscheduler_python}-%{short} = %{version}-%{release}
Prefix: %{_prefix}

Vendor: Julian Berman
URL: http://pypi.python.org/pypi/jsonschema

Source: %{short}-%{version}.tar.gz

Requires: python
Requires: python2-attrs
Requires: python-pyrsistent
Requires: python-functools32
Requires: %{_pscheduler_python}
Requires: %{_pscheduler_python}-attrs
Requires: %{_pscheduler_python}-pyrsistent
# This is required for some reason.
Requires: python-setuptools
Requires: %{_pscheduler_python}-setuptools

BuildRequires: python
BuildRequires: python-setuptools
BuildRequires: %{_pscheduler_python}
BuildRequires: %{_pscheduler_python}-setuptools

%description
JSON Schema library for Python
Expand All @@ -45,11 +45,11 @@ JSON Schema library for Python


%build
python setup.py build
%{_pscheduler_python} setup.py build


%install
python setup.py install --root=$RPM_BUILD_ROOT -O1 --record=INSTALLED_FILES
%{_pscheduler_python} setup.py install --root=$RPM_BUILD_ROOT -O1 --record=INSTALLED_FILES


%clean
Expand Down
2 changes: 1 addition & 1 deletion scripts/RPM-BUILD-ORDER.m4
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jq
# Python Modules
python-isodate
python-pyrsistent
### python2-jsonschema
python-jsonschema
### python-kafka
### python-netaddr
### python-ntplib
Expand Down

0 comments on commit ce6f97c

Please sign in to comment.