diff --git a/XStatic-1.0.1.tar.gz b/XStatic-1.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b60cdec0962f280f5c8042df1716efdc70e865ff Binary files /dev/null and b/XStatic-1.0.1.tar.gz differ diff --git a/XStatic-1.0.2.tar.gz b/XStatic-1.0.2.tar.gz deleted file mode 100644 index cd69ed5919a95d613bf32436b07dec3236b40fcf..0000000000000000000000000000000000000000 Binary files a/XStatic-1.0.2.tar.gz and /dev/null differ diff --git a/python-XStatic.spec b/python-XStatic.spec index 63b064478b945601accefa889033264091a3aaf7..4db8f38d6969e7011c9066e1c68d027b1e914163 100644 --- a/python-XStatic.spec +++ b/python-XStatic.spec @@ -1,69 +1,46 @@ %global _empty_manifest_terminate_build 0 Name: python-XStatic -Version: 1.0.2 +Version: 1.0.1 Release: 1 Summary: XStatic base package with minimal support code License: MIT URL: https://github.com/xstatic-py/xstatic -Source0: https://files.pythonhosted.org/packages/36/78/c0ffaf14216517a14d3daa67ff24fbb60b4703e95ce1059a48fd508e6b8c/XStatic-1.0.2.tar.gz +Source0: https://files.pythonhosted.org/packages/3e/30/726b61d07abd031b32db956adfbcf8924687e07879c1b63b777855c75289/XStatic-1.0.1.tar.gz BuildArch: noarch - - %description -The goal of XStatic family of packages is to provide static file packages -with minimal overhead - without selling you some dependencies you don't want. -XStatic has some minimal support code for working with the XStatic-* packages. -Docs: https://xstatic.readthedocs.io/ -Repository: https://github.com/xstatic-py/xstatic (base package) -Find more stuff already packaged as xstatic package there: -https://github.com/xstatic-py/ -https://pypi.org/search/?q=xstatic -Licenses: -* MIT license (for XStatic code) -* same license as packaged file (for static file packages) +XStatic is a packaging standard to package external (often 3rd party) +static files as a python package, so they are easily usable on all +operating systems, with any package management system or even without one. + -%package -n python3-XStatic +%package -n python2-XStatic Summary: XStatic base package with minimal support code -Provides: python-XStatic -BuildRequires: python3-devel -BuildRequires: python3-setuptools -%description -n python3-XStatic -The goal of XStatic family of packages is to provide static file packages -with minimal overhead - without selling you some dependencies you don't want. -XStatic has some minimal support code for working with the XStatic-* packages. -Docs: https://xstatic.readthedocs.io/ -Repository: https://github.com/xstatic-py/xstatic (base package) -Find more stuff already packaged as xstatic package there: -https://github.com/xstatic-py/ -https://pypi.org/search/?q=xstatic -Licenses: -* MIT license (for XStatic code) -* same license as packaged file (for static file packages) +Provides: python2-XStatic +BuildRequires: python2-devel +BuildRequires: python2-setuptools +%description -n python2-XStatic +XStatic is a packaging standard to package external (often 3rd party) +static files as a python package, so they are easily usable on all +operating systems, with any package management system or even without one. + %package help Summary: Development documents and examples for XStatic -Provides: python3-XStatic-doc +Provides: python2-XStatic-doc %description help -The goal of XStatic family of packages is to provide static file packages -with minimal overhead - without selling you some dependencies you don't want. -XStatic has some minimal support code for working with the XStatic-* packages. -Docs: https://xstatic.readthedocs.io/ -Repository: https://github.com/xstatic-py/xstatic (base package) -Find more stuff already packaged as xstatic package there: -https://github.com/xstatic-py/ -https://pypi.org/search/?q=xstatic -Licenses: -* MIT license (for XStatic code) -* same license as packaged file (for static file packages) +XStatic is a packaging standard to package external (often 3rd party) +static files as a python package, so they are easily usable on all +operating systems, with any package management system or even without one. + %prep -%autosetup -n XStatic-1.0.2 +%autosetup -n XStatic-1.0.1 %build -%py3_build +%py2_build %install -%py3_install +%py2_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -90,12 +67,12 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-XStatic -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python2-XStatic -f filelist.lst +%dir %{python2_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Fri Jan 29 2021 Python_Bot +* Tue May 11 2021 OpenStack_SIG - Package Spec generated