diff --git a/airspeed-0.6.0.tar.gz b/airspeed-0.6.0.tar.gz deleted file mode 100644 index 123d2e145e45c86f018f73e85ea0b82fb0df41b4..0000000000000000000000000000000000000000 Binary files a/airspeed-0.6.0.tar.gz and /dev/null differ diff --git a/airspeed-0.6.1.tar.gz b/airspeed-0.6.1.tar.gz new file mode 100755 index 0000000000000000000000000000000000000000..6cfc3d1b9ec69bcb2e844fda5141427f07d8c5fd Binary files /dev/null and b/airspeed-0.6.1.tar.gz differ diff --git a/python-airspeed.spec b/python-airspeed.spec index 1af122e73fad596445230c1b128ad6266f6c90b8..18608883418c051c88a08aa7a82cee271fc2a2a2 100644 --- a/python-airspeed.spec +++ b/python-airspeed.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-airspeed -Version: 0.6.0 +Version: 0.6.1 Release: 1 Summary: Airspeed is a powerful and easy-to-use templating engine for Python that aims for a high level of compatibility with the popular Velocity library for Java. License: BSD URL: https://github.com/purcell/airspeed/ -Source0: https://files.pythonhosted.org/packages/b5/1b/89c8346ea2103124f2189c4bf809e0d11a1354ae32b7475c070aac3c536e/airspeed-0.6.0.tar.gz +Source0: %{url}/archive/v%{version}/airspeed-%{version}.tar.gz BuildArch: noarch %description @@ -16,6 +16,7 @@ Summary: Airspeed is a powerful and easy-to-use templating engine for Python tha Provides: python-airspeed BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pip %description -n python3-airspeed Airspeed is a powerful and easy-to-use templating engine for Python that aims for a high level of compatibility with the popular Velocity library for Java. @@ -29,43 +30,46 @@ Airspeed is a powerful and easy-to-use templating engine for Python that aims fo %autosetup -n airspeed-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_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 if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} -if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi +touch filelist.lst if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-airspeed -f filelist.lst -%dir %{python3_sitelib}/* +%{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog +* Tue Dec 02 2025 liutao - 0.6.1-1 +- Update package to version 0.6.1 +- Updated nix flake for a handy devshell +- chore(deps): bump actions/checkout from 4 to 5 + * Wed Aug 07 2024 guochao - 0.6.0-1 - Upgrade package to version 0.6.0 - Add String.matches to additional string methods