forked from pool/python-pyjsparser
- Update to 2.7.1:
* no upstream changelog - Rebase fix_version.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyjsparser?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
2499868206
commit
e34d27536a
@@ -18,21 +18,19 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pyjsparser
|
||||
Version: 2.5.2
|
||||
Version: 2.7.1
|
||||
Release: 0
|
||||
Summary: Javascript parser based on esprimajs
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/PiotrDabkowski/pyjsparser
|
||||
URL: https://github.com/PiotrDabkowski/pyjsparser
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyjsparser/pyjsparser-%{version}.tar.gz
|
||||
Source1: https://raw.githubusercontent.com/PiotrDabkowski/pyjsparser/master/LICENSE
|
||||
Source2: https://raw.githubusercontent.com/PiotrDabkowski/pyjsparser/master/README.md
|
||||
Source1: https://raw.githubusercontent.com/PiotrDabkowski/pyjsparser/master/LICENSE
|
||||
Patch0: fix_version.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -42,8 +40,7 @@ It supports the whole of ECMAScript 5.1 and parts of ECMAScript 6.
|
||||
%prep
|
||||
%setup -q -n pyjsparser-%{version}
|
||||
%patch0 -p1
|
||||
cp %{S:1} .
|
||||
cp %{S:2} .
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Reference in New Issue
Block a user