From 1b991965832a7f330bedb1ceca69794ef1b8260e Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 12 Feb 2025 15:04:15 +0000 Subject: [PATCH] 2.6.0 --- .abf.yml | 5 +---- python-jsonschema.spec | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.abf.yml b/.abf.yml index c38a4e6..76756ae 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,5 +1,2 @@ -removed_sources: - jsonschema-2.3.0.tar.gz: 928c9b43f35298346b27b910660944dde931048e - jsonschema-2.4.0.tar.gz: 35d4d90ce942a4b030eda75e9a2b32f97e121a98 sources: - jsonschema-2.6.0.tar.gz: 97e49df4601f7066d9954c0ec4d8d697887b32f0 + jsonschema-2.6.0.tar.gz: 95f8f2bcfc24fe24f2ffef5fa9c8ddabd59e717f diff --git a/python-jsonschema.spec b/python-jsonschema.spec index 66a9af0..76914c6 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -4,14 +4,16 @@ Name: python-%{oname} Version: 2.6.0 Release: 1 Summary: An implementation of JSON Schema validation for Python -Source0: http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz +URL: https://github.com/Julian/jsonschema +#Source0: http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz +Source0: %{url}/archive/v%{version}/%{oname}-%{version}.tar.gz License: MIT Group: Development/Python -Url: http://github.com/Julian/jsonschema BuildArch: noarch BuildRequires: pkgconfig(python) BuildRequires: pythonegg(nose) BuildRequires: pythonegg(mock) +BuildRequires: pythonegg(setuptools) BuildRequires: pkgconfig(python3) BuildRequires: python3egg(nose) @@ -55,12 +57,16 @@ in an enumeration. %setup -q -n %{oname}-%{version} %build -python setup.py build -python3 setup.py build +#python setup.py build +#python3 setup.py build +%py_build +%py3_build %install -python setup.py install --root=%{buildroot} -python3 setup.py install --root=%{buildroot} +#python setup.py install --root=%{buildroot} +#python3 setup.py install --root=%{buildroot} +%py_install +%py3_install %check #{_bindir}/nosetests-2* -v || :