diff --git a/XStatic-jQuery-1.10.2.1.tar.gz b/XStatic-jQuery-1.10.2.1.tar.gz deleted file mode 100644 index 20afbc1..0000000 --- a/XStatic-jQuery-1.10.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:83416a6bb86e8534858c4d1ddca45e881c87639da6f78000c28c3a193fe91305 -size 116458 diff --git a/XStatic-jQuery-1.12.4.1.tar.gz b/XStatic-jQuery-1.12.4.1.tar.gz new file mode 100644 index 0000000..5e099fc --- /dev/null +++ b/XStatic-jQuery-1.12.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa3765e6c5238cec8772494325d61fd981dd570b72c40dc38c84d77704489949 +size 123857 diff --git a/python-XStatic-jQuery.changes b/python-XStatic-jQuery.changes index 76fc088..df63675 100644 --- a/python-XStatic-jQuery.changes +++ b/python-XStatic-jQuery.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jan 2 13:01:59 UTC 2019 - Thomas Bechtold + +- update to 1.12.4.1: + No changelog provided by upstream +- convert to singlespec + ------------------------------------------------------------------- Fri Sep 12 16:07:33 UTC 2014 - dmueller@suse.com diff --git a/python-XStatic-jQuery.spec b/python-XStatic-jQuery.spec index d99eb44..2f65ef8 100644 --- a/python-XStatic-jQuery.spec +++ b/python-XStatic-jQuery.spec @@ -1,7 +1,7 @@ # # spec file for package python-XStatic-jQuery # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,26 +12,24 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-XStatic-jQuery -Version: 1.10.2.1 +Version: 1.12.4.1 Release: 0 Summary: jQuery 1.102 (XStatic packaging standard) License: MIT Group: Development/Languages/Python Url: http://jquery.com/ -Source: https://pypi.python.org/packages/source/X/XStatic-jQuery/XStatic-jQuery-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch -%endif +Source: https://files.pythonhosted.org/packages/source/X/XStatic-jQuery/XStatic-jQuery-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros + +%python_subpackages %description jQuery javascript library packaged for setuptools (easy_install) / pip. @@ -46,12 +44,13 @@ You can find more info about the xstatic packaging way in the package `XStatic`. %setup -q -n XStatic-jQuery-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%files +%files %{python_files} %defattr(-,root,root,-) %{python_sitelib}/*