From 8c9035f7d78f28f93d31d9ad94fe2aa077f5cbd4 Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Wed, 22 Oct 2014 16:00:46 +0200 Subject: [PATCH] python-XStatic-jquery-ui 1.11 --- .../python-XStatic-jquery-ui/_service | 4 +- .../python-XStatic-jquery-ui.spec | 43 +++++++++---------- 2 files changed, 22 insertions(+), 25 deletions(-) diff --git a/home:entrouvert:cg14-dev/python-XStatic-jquery-ui/_service b/home:entrouvert:cg14-dev/python-XStatic-jquery-ui/_service index c555a22..0c18ce1 100644 --- a/home:entrouvert:cg14-dev/python-XStatic-jquery-ui/_service +++ b/home:entrouvert:cg14-dev/python-XStatic-jquery-ui/_service @@ -2,6 +2,6 @@ pypi.python.org https - /packages/source/X/XStatic-jquery-ui/XStatic-jquery-ui-1.10.4.1.tar.gz + /packages/source/X/XStatic-jquery-ui/XStatic-jquery-ui-1.11.0.1.tar.gz - \ No newline at end of file + diff --git a/home:entrouvert:cg14-dev/python-XStatic-jquery-ui/python-XStatic-jquery-ui.spec b/home:entrouvert:cg14-dev/python-XStatic-jquery-ui/python-XStatic-jquery-ui.spec index 1f5291b..050a9ce 100644 --- a/home:entrouvert:cg14-dev/python-XStatic-jquery-ui/python-XStatic-jquery-ui.spec +++ b/home:entrouvert:cg14-dev/python-XStatic-jquery-ui/python-XStatic-jquery-ui.spec @@ -1,13 +1,13 @@ %global pypi_name XStatic-jquery-ui -%global _jsdir %{_datadir}/javascript + %{!?__python2:%global __python2 %{__python}} %{!?python2_sitelib: %global python2_sitelib %{python_sitelib}} %{!?python2_sitearch: %global python2_sitearch %{python_sitearch}} %{!?python2_version: %global python2_version %{python_version}} Name: python-%{pypi_name} -Version: 1.10.4.1 -Release: 1%{?dist} +Version: 1.11.0.1 +Release: 2%{?dist} Summary: jquery-ui (XStatic packaging standard) # According @@ -21,50 +21,47 @@ URL: http://jqueryui.com/ Source0: https://pypi.python.org/packages/source/X/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel +BuildRequires: python-devel BuildRequires: python-setuptools -BuildRequires: web-assets-devel Requires: python-XStatic -Requires: web-assets-filesystem - %description jquery-ui javascript library packaged for setuptools (easy_install) / pip. +This package is intended to be used by +**any** project that needs these files. + +It intentionally does **not** provide +any extra code except some metadata +**nor** has any extra requirements. You MAY +use some minimal support code from +the XStatic base package, if you like. + %prep %setup -q -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info -# patch to use webassets dir -sed -i "s|^BASE_DIR = .*|BASE_DIR = '%{_jsdir}/jquery_ui'|" xstatic/pkg/jquery_ui/__init__.py - - - - %build -# due -# https://bitbucket.org/thomaswaldmann/xstatic/issue/2/ +# due https://bitbucket.org/thomaswaldmann/xstatic/issue/2/ # this package can not be built with python-XStatic installed. %{__python2} setup.py build - %install %{__python2} setup.py install --skip-build --root %{buildroot} -mkdir -p %{buildroot}/%{_jsdir}/jquery_ui -mv %{buildroot}/%{python2_sitelib}/xstatic/pkg/jquery_ui/data/* %{buildroot}/%{_jsdir}/jquery_ui - - %files %doc README.txt +%{python2_sitelib}/XStatic_jquery_ui-1.11.0.1-py%{python_version}.egg-info +%{python2_sitelib}/XStatic_jquery_ui-1.11.0.1-py%{python_version}-nspkg.pth %{python2_sitelib}/xstatic/pkg/jquery_ui -%{python2_sitelib}/XStatic_jquery_ui-1.10.4.1-py%{python_version}.egg-info -%{python2_sitelib}/XStatic_jquery_ui-1.10.4.1-py%{python_version}-nspkg.pth -%{_jsdir}/jquery_ui %changelog +* Mon Oct 20 2014 Thomas NOEL - 1.11.0.1-1 +- update to 1.11.0.1 +* Mon Oct 20 2014 EO - 1.10.4.1-2 +- dont use _jsdir * Mon Aug 18 2014 Matthias Runge - 1.10.4.1-1 - Initial package (rhbz#1135430).