From cf392c25a05b0b0fea3fa0831ba62f2660bb1f22 Mon Sep 17 00:00:00 2001 From: Karolina Surma Date: Wed, 1 Sep 2021 17:31:40 +0200 Subject: [PATCH] Improve formatting of BuildRequires --- template.spec | 2 +- tests/expected_specfiles/pyp2spec_markdown-it-py.spec | 8 ++++---- tests/expected_specfiles/pyp2spec_tomli.spec | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/template.spec b/template.spec index 1e1ad91..038e216 100644 --- a/template.spec +++ b/template.spec @@ -13,7 +13,7 @@ BuildRequires: python3-devel %global _description %{expand: {{description}}} -{% for br in manual_build_requires %}BuildRequires: {{br}} +{% for br in manual_build_requires %}BuildRequires: {{br}} {% endfor %} %description %_description diff --git a/tests/expected_specfiles/pyp2spec_markdown-it-py.spec b/tests/expected_specfiles/pyp2spec_markdown-it-py.spec index 1d74a60..6a0b506 100644 --- a/tests/expected_specfiles/pyp2spec_markdown-it-py.spec +++ b/tests/expected_specfiles/pyp2spec_markdown-it-py.spec @@ -18,10 +18,10 @@ Pluggable: Adds syntax extensions to extend the parser. High speed & safe by default } -BuildRequires: python3-setuptools -BuildRequires: python3-pytest -BuildRequires: python3-pytest-benchmark -BuildRequires: python3-psutil +BuildRequires: python3-setuptools +BuildRequires: python3-pytest +BuildRequires: python3-pytest-benchmark +BuildRequires: python3-psutil %description %_description diff --git a/tests/expected_specfiles/pyp2spec_tomli.spec b/tests/expected_specfiles/pyp2spec_tomli.spec index e339428..e6c41e1 100644 --- a/tests/expected_specfiles/pyp2spec_tomli.spec +++ b/tests/expected_specfiles/pyp2spec_tomli.spec @@ -15,8 +15,8 @@ Tomli is a Python library for parsing TOML. Tomli is fully compatible with TOML v1.0.0. } -BuildRequires: python3-pytest -BuildRequires: python3-dateutil +BuildRequires: python3-pytest +BuildRequires: python3-dateutil %description %_description