diff --git a/django_pipeline-3.1.0.tar.gz b/django_pipeline-3.1.0.tar.gz deleted file mode 100644 index 396cfbf578fe95c113ddc9fdafaf5fd287726a8e..0000000000000000000000000000000000000000 Binary files a/django_pipeline-3.1.0.tar.gz and /dev/null differ diff --git a/django_pipeline-4.0.0.tar.gz b/django_pipeline-4.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0f909350e3ac8524c4301752f9c6463403ade405 Binary files /dev/null and b/django_pipeline-4.0.0.tar.gz differ diff --git a/python-django-pipeline.spec b/python-django-pipeline.spec index 193671b88a259447f96246647f37b5d497f30b63..214120d3112d75f40e243d52723674408d370deb 100644 --- a/python-django-pipeline.spec +++ b/python-django-pipeline.spec @@ -1,6 +1,6 @@ %global _empty_manifest_terminate_build 0 Name: python-django-pipeline -Version: 3.1.0 +Version: 4.0.0 Release: 1 Summary: Pipeline is an asset packaging library for Django. License: MIT @@ -19,61 +19,39 @@ Summary: Pipeline is an asset packaging library for Django. Provides: python-django-pipeline BuildRequires: python3-devel BuildRequires: python3-setuptools -BuildRequires: python3-setuptools_scm +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pip +BuildRequires: python3-wheel +Obsoletes: %{name}-help < %{version}-%{release} %description -n python3-django-pipeline Pipeline is an asset packaging library for Django, providing both CSS and JavaScript concatenation and compression, built-in JavaScript template support, and optional data-URI image and font embedding. -%package help -Summary: Development documents and examples for django-pipeline -Provides: python3-django-pipeline-doc -%description help -Pipeline is an asset packaging library for Django, providing both CSS and -JavaScript concatenation and compression, built-in JavaScript template support, -and optional data-URI image and font embedding. - %prep %autosetup -n django_pipeline-%{version} -p1 %build -%py3_build +%pyproject_build %install -%py3_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 -if [ -d usr/lib64 ]; then - 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 -fi -if [ -d usr/sbin ]; then - 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 -fi -popd -mv %{buildroot}/filelist.lst . -mv %{buildroot}/doclist.lst . - -%files -n python3-django-pipeline -f filelist.lst -%dir %{python3_sitelib}/* +%pyproject_install -%files help -f doclist.lst -%{_docdir}/* +%files -n python3-django-pipeline +%license LICENSE +%doc README.rst +%{python3_sitelib}/* %changelog +* Wed Aug 20 2025 yaoxin <1024769339@qq.com> - 4.0.0-1 +- Update to 4.0.0: + * Drop support for Python 3.8 + * Confirm support for Django 5.1 and drop support for Django 3.2 + * Add Python 3.12 support + * Replace deprecated .warn method with .warning + * Update sourcemap paths when concatenating source files + * Ensure correct compiler error styling and strip ANSI escape sequences + * Tue Aug 27 2024 yaoxin - 3.1.0-1 - Update to 3.1.0: * Replace deprecated .warn method with .warning