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..4990c2f04e7d2a97cea275fe5b12f443cc47919a 100644 --- a/python-XStatic.spec +++ b/python-XStatic.spec @@ -1,69 +1,40 @@ %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 +License: MIT license +URL: http:/bitbucket.org/thomaswaldmann/xstatic +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) -%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 +BuildRequires: python2-devel +BuildRequires: python2-setuptools +%description -n python2-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) %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) %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 +61,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 +* Sun Apr 25 2021 Python_Bot - Package Spec generated