Repository navigation
Restore django-storages S3 packages #3186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ogajduse
merged 1 commit into
theforeman:rpm/develop
from
jakduch:feature/package-django-storages
Oct 12, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
108 changes: 108 additions & 0 deletions
108
packages/python-django-storages/python-django-storages.spec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,108 @@ | ||
| %global python3_pkgversion 3.12 | ||
| %global __python3 /usr/bin/python3.12 | ||
|
|
||
| %global pypi_name django-storages | ||
|
|
||
| Name: python%{python3_pkgversion}-%{pypi_name} | ||
| Version: 1.14.6 | ||
| Release: 2%{?dist} | ||
| Summary: Storage backends for Django | ||
|
|
||
| License: BSD-3-Clause | ||
| URL: https://github.com/jschneier/django-storages | ||
| Source0: https://files.pythonhosted.org/packages/source/d/django_storages/django_storages-%{version}.tar.gz | ||
| BuildArch: noarch | ||
|
|
||
| BuildRequires: python%{python3_pkgversion}-devel | ||
| BuildRequires: python%{python3_pkgversion}-pip | ||
| BuildRequires: python%{python3_pkgversion}-setuptools >= 61.2 | ||
| BuildRequires: python%{python3_pkgversion}-wheel | ||
| BuildRequires: pyproject-rpm-macros | ||
|
|
||
| Requires: python%{python3_pkgversion}-django >= 3.2 | ||
|
|
||
| %{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} | ||
|
|
||
| %description | ||
| django-storages provides reusable storage backends for Django, including S3 | ||
| and S3-compatible object stores when boto3 is installed. | ||
|
|
||
|
|
||
| %package -n python%{python3_pkgversion}-%{pypi_name}+boto3 | ||
| Summary: Metapackage for the django-storages boto3 extra | ||
| Requires: python%{python3_pkgversion}-%{pypi_name} = %{version}-%{release} | ||
| Requires: python%{python3_pkgversion}-boto3 >= 1.4.4 | ||
|
|
||
| %description -n python%{python3_pkgversion}-%{pypi_name}+boto3 | ||
| This metapackage installs the dependencies required by the django-storages | ||
| boto3 extra for S3 and S3-compatible object storage. It contains no code. | ||
|
|
||
| %files -n python%{python3_pkgversion}-%{pypi_name}+boto3 | ||
| %ghost %{python3_sitelib}/django_storages-%{version}.dist-info/ | ||
|
|
||
|
|
||
| %prep | ||
| set -ex | ||
| %autosetup -n django_storages-%{version} | ||
|
|
||
|
|
||
| %build | ||
| set -ex | ||
| %pyproject_wheel | ||
|
|
||
|
|
||
| %install | ||
| set -ex | ||
| %pyproject_install | ||
|
|
||
|
|
||
| %files -n python%{python3_pkgversion}-%{pypi_name} | ||
| %license LICENSE | ||
| %doc README.rst | ||
| %{python3_sitelib}/storages | ||
| %{python3_sitelib}/django_storages-%{version}.dist-info/ | ||
|
|
||
|
|
||
| %changelog | ||
| * Sat Oct 03 2026 Jakub Duchek <jakduch@users.noreply.github.com> - 1.14.6-2 | ||
| - Restore the package for optional object storage backends | ||
| - Add the boto3 extra metapackage for S3-compatible storage | ||
|
|
||
| * Sun Apr 27 2025 Foreman Packaging Automation <packaging@theforeman.org> - 1.14.6-1 | ||
| - Update to 1.14.6 | ||
|
|
||
| * Tue Apr 08 2025 Odilon Sousa <osousa@redhat.com> - 1.14.5-4 | ||
| - Add new metapackages for s3, azure and google | ||
|
|
||
| * Mon Apr 07 2025 Odilon Sousa <osousa@redhat.com> - 1.14.5-3 | ||
| - Add obsoletes for python3.11 package | ||
|
|
||
| * Thu Mar 27 2025 Odilon Sousa <osousa@redhat.com> - 1.14.5-2 | ||
| - Rebuild against python3.12 | ||
|
|
||
| * Wed Mar 05 2025 Foreman Packaging Automation <packaging@theforeman.org> - 1.14.5-1 | ||
| - Update to 1.14.5 | ||
|
|
||
| * Mon Oct 21 2024 Foreman Packaging Automation <packaging@theforeman.org> - 1.14.4-1 | ||
| - Update to 1.14.4 | ||
|
|
||
| * Tue Jan 16 2024 Odilon Sousa <osousa@redhat.com> - 1.12.3-5 | ||
| - Remove SCL bits | ||
|
|
||
| * Tue Nov 21 2023 Patrick Creech <pcreech@redhat.com> - 1.12.3-4 | ||
| - Add python39 obsoletes to package | ||
|
|
||
| * Sat Nov 11 2023 Odilon Sousa <osousa@redhat.com> - 1.12.3-3 | ||
| - Build against python 3.11 | ||
|
|
||
| * Fri Apr 22 2022 Yanis Guenane <yguenane@redhat.com> - 1.12.3-2 | ||
| - Build against python 3.9 | ||
|
|
||
| * Tue Nov 02 2021 Evgeni Golov - 1.12.3-1 | ||
| - Release python-django-storages 1.12.3 | ||
|
|
||
| * Wed Oct 27 2021 Evgeni Golov - 1.11.1-2 | ||
| - Rebuild against Python 3.8 | ||
|
|
||
| * Fri Sep 03 2021 Evgeni Golov - 1.11.1-1 | ||
| - Initial package. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.