diff --git a/libsass-0.21.0.tar.gz b/libsass-0.21.0.tar.gz deleted file mode 100644 index 37287b7d6265de4720c35131c4391d899283a4c0..0000000000000000000000000000000000000000 Binary files a/libsass-0.21.0.tar.gz and /dev/null differ diff --git a/libsass-0.22.0.tar.gz b/libsass-0.22.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..6439b290c4530f84bd45220230284de7566d5208 Binary files /dev/null and b/libsass-0.22.0.tar.gz differ diff --git a/python-libsass.spec b/python-libsass.spec index 0289e6b2c77700d0846624e8541ebdfeb19819a7..a61d898e9e8b5e64247988620a11c90c8aa06b0c 100644 --- a/python-libsass.spec +++ b/python-libsass.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-libsass -Version: 0.21.0 -Release: 2 +Version: 0.22.0 +Release: 1 Summary: Sass for Python: A straightforward binding of libsass for Python. License: MIT URL: https://sass.github.io/libsass-python/ -Source0: https://files.pythonhosted.org/packages/42/91/2a8abf59fa20a2b5148d18192fe66877139667cfc02bd3b782bd74b2e3d1/libsass-0.21.0.tar.gz +Source0: https://files.pythonhosted.org/packages/55/14/f1d9578dce39f890ae3c0f93db8a23e89d2a1403da81d307ffb429df7c3b/libsass-0.22.0.tar.gz %description This package provides a simple Python extension module ``sass`` which is @@ -15,16 +15,14 @@ distribution/deployment. That means you can add just ``libsass`` into your ``setup.py``'s ``install_requires`` list or ``requirements.txt`` file. Need no Ruby nor Node.js. - %package -n python3-libsass Summary: Sass for Python: A straightforward binding of libsass for Python. -Provides: python-libsass +Provides: python-libsass = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-cffi -BuildRequires: gcc - +BuildRequires: gcc-c++ %description -n python3-libsass This package provides a simple Python extension module ``sass`` which is binding LibSass_ (written in C/C++ by Hampton Catlin and Aaron Leung). @@ -36,7 +34,6 @@ Need no Ruby nor Node.js. %package help Summary: Development documents and examples for libsass Provides: python3-libsass-doc - %description help This package provides a simple Python extension module ``sass`` which is binding LibSass_ (written in C/C++ by Hampton Catlin and Aaron Leung). @@ -46,7 +43,7 @@ your ``setup.py``'s ``install_requires`` list or ``requirements.txt`` file. Need no Ruby nor Node.js. %prep -%autosetup -n libsass-0.21.0 +%autosetup -n libsass-%{version} %build %py3_build @@ -58,6 +55,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst @@ -86,6 +86,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue Feb 07 2023 wangjunqi - 0.22.0-1 +- Update package to version 0.22.0 + * Wed Aug 04 2021 chenyanpanHW - 0.21.0-2 - DESC: delete BuildRequires gdb