forked from pool/python-django-widget-tweaks
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 5d754c80b3 | |||
| 448222682d |
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 3 07:03:40 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
- No more greedy globs in %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 27 01:28:20 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-django-widget-tweaks
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,18 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-django-widget-tweaks
|
||||
Version: 1.4.8
|
||||
Release: 0
|
||||
Summary: Django form field rendering in templates
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/jazzband/django-widget-tweaks
|
||||
Source: https://files.pythonhosted.org/packages/source/d/django-widget-tweaks/django-widget-tweaks-%{version}.tar.gz
|
||||
Source1: https://raw.githubusercontent.com/jazzband/django-widget-tweaks/master/runtests.py
|
||||
BuildRequires: %{python_module Django}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Django
|
||||
@@ -42,10 +42,10 @@ Tweak the form field rendering in templates, not in python-level form definition
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -54,6 +54,7 @@ cp %{SOURCE1} .
|
||||
%files %{python_files}
|
||||
%doc CHANGES.rst README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/widget_tweaks
|
||||
%{python_sitelib}/django_widget_tweaks-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user