Separate specfile sections by two newlines
This is conventional and increases readability.
This commit is contained in:
parent
59691fb4a3
commit
9298a1f22d
@ -21,35 +21,42 @@ comes with good defaults out of the box.
|
|||||||
|
|
||||||
%description %{_description}
|
%description %{_description}
|
||||||
|
|
||||||
|
|
||||||
%package -n python%{python3_pkgversion}-click
|
%package -n python%{python3_pkgversion}-click
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
|
|
||||||
BuildRequires: python%{python3_pkgversion}-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
|
|
||||||
%description -n python%{python3_pkgversion}-click %{_description}
|
%description -n python%{python3_pkgversion}-click %{_description}
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n click-%{version} -p1
|
%autosetup -n click-%{version} -p1
|
||||||
# Use test dependencies without version locks
|
# Use test dependencies without version locks
|
||||||
sed -i 's|requirements/tests.txt|requirements/tests.in|' tox.ini
|
sed -i 's|requirements/tests.txt|requirements/tests.in|' tox.ini
|
||||||
|
|
||||||
|
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
%pyproject_buildrequires -t
|
%pyproject_buildrequires -t
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%pyproject_save_files click
|
%pyproject_save_files click
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%tox
|
%tox
|
||||||
|
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-click -f %pyproject_files
|
%files -n python%{python3_pkgversion}-click -f %pyproject_files
|
||||||
%license LICENSE.rst
|
%license LICENSE.rst
|
||||||
%doc README.rst CHANGES.rst
|
%doc README.rst CHANGES.rst
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.1.3-5
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.1.3-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user