├── .fmf └── version ├── .git_archival.txt ├── .gitattributes ├── .github └── workflows │ ├── check-release-notes.yml │ ├── do-release.yml │ ├── opened-issues-to-the-board.yml │ ├── opened-prs-to-the-board.yml │ ├── prepare-release.yml │ ├── pypi-publish.yml │ ├── trigger-packit-dev.yml │ └── update-constants.yml ├── .gitignore ├── .packit.yaml ├── .pre-commit-config.yaml ├── .prettierignore ├── .zuul.yaml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Containerfile.tests ├── LICENSE ├── LICENSE_HEADER.txt ├── Makefile ├── README.md ├── _typos.toml ├── centos-integration-sig └── python-specfile.spec ├── docs ├── api │ ├── processors.py │ └── specfile.yml └── index.md ├── epel10 └── python-specfile.spec ├── epel8 └── python-specfile.spec ├── fedora └── python-specfile.spec ├── files ├── install-requirements-pip.yaml ├── install-requirements-rpms.yaml ├── local-tests-requirements.yaml ├── tasks │ ├── build-rpm-deps.yaml │ ├── generic-dnf-requirements.yaml │ ├── project-dir.yaml │ ├── rpm-deps.yaml │ └── rpm-test-deps.yaml └── zuul-tests.yaml ├── plans ├── full.fmf ├── git_reference.py ├── main.fmf ├── packit-integration.fmf ├── performance.fmf └── smoke.fmf ├── pyproject.toml ├── scripts ├── extract.py └── update_constants.py ├── setup.cfg ├── setup.py ├── specfile ├── __init__.py ├── changelog.py ├── conditions.py ├── constants.py ├── context_management.py ├── context_management.pyi ├── exceptions.py ├── formatter.py ├── macro_definitions.py ├── macros.py ├── options.py ├── prep.py ├── py.typed ├── sections.py ├── sourcelist.py ├── sources.py ├── spec_parser.py ├── specfile.py ├── tags.py ├── types.py ├── utils.py └── value_parser.py └── tests ├── __init__.py ├── conftest.py ├── constants.py ├── data ├── spec_autopatch │ ├── patch0.patch │ ├── patch1.patch │ ├── patch2.patch │ ├── patch3.patch │ ├── patch4.patch │ ├── patch5.patch │ ├── patch6.patch │ ├── test-0.1.tar.xz │ └── test.spec ├── spec_autosetup │ ├── patch0.patch │ ├── patch1.patch │ ├── patch2.patch │ ├── test-0.1.tar.xz │ └── test.spec ├── spec_commented_patches │ ├── patch0.patch │ ├── patch1.patch │ ├── patch2.patch │ ├── patch3.patch │ ├── patch4.patch │ ├── patch5.patch │ ├── patch6.patch │ ├── test-0.1.tar.xz │ └── test.spec ├── spec_conditionalized_changelog │ └── test.spec ├── spec_conditionalized_version │ ├── patch0.patch │ ├── patch1.patch │ ├── patch2.patch │ ├── test-0.1.2.tar.xz │ └── test.spec ├── spec_includes │ ├── description1.inc │ ├── description2.inc │ ├── macros1.inc │ ├── macros2.inc │ ├── patch0.patch │ ├── patch1.patch │ ├── patch2.patch │ ├── patches.inc │ ├── provides.inc │ ├── test-0.1.tar.xz │ └── test.spec ├── spec_macros │ ├── patch0.patch │ ├── patch1.patch │ ├── patch2.patch │ ├── test-v0.1.2~rc2.tar.xz │ ├── test.spec │ └── tests-01.tar.xz ├── spec_minimal │ └── test.spec ├── spec_multiple_sources │ ├── test.7z │ ├── test.spec │ ├── test.tar.bz2 │ ├── test.tar.gz │ ├── test.tar.lrz │ ├── test.tar.lz │ ├── test.tar.xz │ ├── test.tar.zst │ ├── test.txt │ └── test.zip ├── spec_no_trailing_newline │ ├── patch0.patch │ ├── patch1.patch │ ├── patch2.patch │ ├── test-0.1.tar.xz │ └── test.spec ├── spec_patchlist │ ├── patch0.patch │ ├── patch1.patch │ ├── patch2.patch │ ├── test-0.1.tar.xz │ └── test.spec ├── spec_prerelease │ ├── patch0.patch │ ├── patch1.patch │ ├── patch2.patch │ ├── test-v0.1.2-rc2.tar.xz │ └── test.spec ├── spec_prerelease2 │ ├── patch0.patch │ ├── patch1.patch │ ├── patch2.patch │ ├── test-v0.1.2-rc2.tar.xz │ └── test.spec ├── spec_rpmautospec │ └── test.spec ├── spec_shell_expansions │ └── test.spec └── spec_traditional │ ├── patch0.patch │ ├── patch1.patch │ ├── patch2.patch │ ├── test-0.1.tar.xz │ └── test.spec ├── full.fmf ├── integration ├── __init__.py ├── conftest.py └── test_specfile.py ├── performance.fmf ├── performance └── test_parse.py ├── smoke.fmf └── unit ├── __init__.py ├── test_changelog.py ├── test_conditions.py ├── test_formatter.py ├── test_guess_packager.py ├── test_macro_definitions.py ├── test_macros.py ├── test_options.py ├── test_prep.py ├── test_sections.py ├── test_sourcelist.py ├── test_sources.py ├── test_spec_parser.py ├── test_specfile.py ├── test_tags.py ├── test_utils.py └── test_value_parser.py /.fmf/version: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /.git_archival.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/.git_archival.txt -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Needed for setuptools-scm 2 | .git_archival.txt export-subst 3 | -------------------------------------------------------------------------------- /.github/workflows/check-release-notes.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/.github/workflows/check-release-notes.yml -------------------------------------------------------------------------------- /.github/workflows/do-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/.github/workflows/do-release.yml -------------------------------------------------------------------------------- /.github/workflows/opened-issues-to-the-board.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/.github/workflows/opened-issues-to-the-board.yml -------------------------------------------------------------------------------- /.github/workflows/opened-prs-to-the-board.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/.github/workflows/opened-prs-to-the-board.yml -------------------------------------------------------------------------------- /.github/workflows/prepare-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/.github/workflows/prepare-release.yml -------------------------------------------------------------------------------- /.github/workflows/pypi-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/.github/workflows/pypi-publish.yml -------------------------------------------------------------------------------- /.github/workflows/trigger-packit-dev.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/.github/workflows/trigger-packit-dev.yml -------------------------------------------------------------------------------- /.github/workflows/update-constants.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/.github/workflows/update-constants.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/.gitignore -------------------------------------------------------------------------------- /.packit.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/.packit.yaml -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | tests/data/spec_includes/*.inc 2 | -------------------------------------------------------------------------------- /.zuul.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/.zuul.yaml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Containerfile.tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/Containerfile.tests -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE_HEADER.txt: -------------------------------------------------------------------------------- 1 | Copyright Contributors to the Packit project. 2 | SPDX-License-Identifier: MIT 3 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/README.md -------------------------------------------------------------------------------- /_typos.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/_typos.toml -------------------------------------------------------------------------------- /centos-integration-sig/python-specfile.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/centos-integration-sig/python-specfile.spec -------------------------------------------------------------------------------- /docs/api/processors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/docs/api/processors.py -------------------------------------------------------------------------------- /docs/api/specfile.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/docs/api/specfile.yml -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/docs/index.md -------------------------------------------------------------------------------- /epel10/python-specfile.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/epel10/python-specfile.spec -------------------------------------------------------------------------------- /epel8/python-specfile.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/epel8/python-specfile.spec -------------------------------------------------------------------------------- /fedora/python-specfile.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/fedora/python-specfile.spec -------------------------------------------------------------------------------- /files/install-requirements-pip.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/files/install-requirements-pip.yaml -------------------------------------------------------------------------------- /files/install-requirements-rpms.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/files/install-requirements-rpms.yaml -------------------------------------------------------------------------------- /files/local-tests-requirements.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/files/local-tests-requirements.yaml -------------------------------------------------------------------------------- /files/tasks/build-rpm-deps.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/files/tasks/build-rpm-deps.yaml -------------------------------------------------------------------------------- /files/tasks/generic-dnf-requirements.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/files/tasks/generic-dnf-requirements.yaml -------------------------------------------------------------------------------- /files/tasks/project-dir.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/files/tasks/project-dir.yaml -------------------------------------------------------------------------------- /files/tasks/rpm-deps.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/files/tasks/rpm-deps.yaml -------------------------------------------------------------------------------- /files/tasks/rpm-test-deps.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/files/tasks/rpm-test-deps.yaml -------------------------------------------------------------------------------- /files/zuul-tests.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/files/zuul-tests.yaml -------------------------------------------------------------------------------- /plans/full.fmf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/plans/full.fmf -------------------------------------------------------------------------------- /plans/git_reference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/plans/git_reference.py -------------------------------------------------------------------------------- /plans/main.fmf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/plans/main.fmf -------------------------------------------------------------------------------- /plans/packit-integration.fmf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/plans/packit-integration.fmf -------------------------------------------------------------------------------- /plans/performance.fmf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/plans/performance.fmf -------------------------------------------------------------------------------- /plans/smoke.fmf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/plans/smoke.fmf -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/pyproject.toml -------------------------------------------------------------------------------- /scripts/extract.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/scripts/extract.py -------------------------------------------------------------------------------- /scripts/update_constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/scripts/update_constants.py -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/setup.py -------------------------------------------------------------------------------- /specfile/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/__init__.py -------------------------------------------------------------------------------- /specfile/changelog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/changelog.py -------------------------------------------------------------------------------- /specfile/conditions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/conditions.py -------------------------------------------------------------------------------- /specfile/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/constants.py -------------------------------------------------------------------------------- /specfile/context_management.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/context_management.py -------------------------------------------------------------------------------- /specfile/context_management.pyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/context_management.pyi -------------------------------------------------------------------------------- /specfile/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/exceptions.py -------------------------------------------------------------------------------- /specfile/formatter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/formatter.py -------------------------------------------------------------------------------- /specfile/macro_definitions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/macro_definitions.py -------------------------------------------------------------------------------- /specfile/macros.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/macros.py -------------------------------------------------------------------------------- /specfile/options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/options.py -------------------------------------------------------------------------------- /specfile/prep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/prep.py -------------------------------------------------------------------------------- /specfile/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /specfile/sections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/sections.py -------------------------------------------------------------------------------- /specfile/sourcelist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/sourcelist.py -------------------------------------------------------------------------------- /specfile/sources.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/sources.py -------------------------------------------------------------------------------- /specfile/spec_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/spec_parser.py -------------------------------------------------------------------------------- /specfile/specfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/specfile.py -------------------------------------------------------------------------------- /specfile/tags.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/tags.py -------------------------------------------------------------------------------- /specfile/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/types.py -------------------------------------------------------------------------------- /specfile/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/utils.py -------------------------------------------------------------------------------- /specfile/value_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/specfile/value_parser.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright Contributors to the Packit project. 2 | # SPDX-License-Identifier: MIT 3 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/constants.py -------------------------------------------------------------------------------- /tests/data/spec_autopatch/patch0.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_autopatch/patch0.patch -------------------------------------------------------------------------------- /tests/data/spec_autopatch/patch1.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_autopatch/patch1.patch -------------------------------------------------------------------------------- /tests/data/spec_autopatch/patch2.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_autopatch/patch2.patch -------------------------------------------------------------------------------- /tests/data/spec_autopatch/patch3.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_autopatch/patch3.patch -------------------------------------------------------------------------------- /tests/data/spec_autopatch/patch4.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_autopatch/patch4.patch -------------------------------------------------------------------------------- /tests/data/spec_autopatch/patch5.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_autopatch/patch5.patch -------------------------------------------------------------------------------- /tests/data/spec_autopatch/patch6.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_autopatch/patch6.patch -------------------------------------------------------------------------------- /tests/data/spec_autopatch/test-0.1.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_autopatch/test-0.1.tar.xz -------------------------------------------------------------------------------- /tests/data/spec_autopatch/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_autopatch/test.spec -------------------------------------------------------------------------------- /tests/data/spec_autosetup/patch0.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_autosetup/patch0.patch -------------------------------------------------------------------------------- /tests/data/spec_autosetup/patch1.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_autosetup/patch1.patch -------------------------------------------------------------------------------- /tests/data/spec_autosetup/patch2.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_autosetup/patch2.patch -------------------------------------------------------------------------------- /tests/data/spec_autosetup/test-0.1.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_autosetup/test-0.1.tar.xz -------------------------------------------------------------------------------- /tests/data/spec_autosetup/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_autosetup/test.spec -------------------------------------------------------------------------------- /tests/data/spec_commented_patches/patch0.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_commented_patches/patch0.patch -------------------------------------------------------------------------------- /tests/data/spec_commented_patches/patch1.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_commented_patches/patch1.patch -------------------------------------------------------------------------------- /tests/data/spec_commented_patches/patch2.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_commented_patches/patch2.patch -------------------------------------------------------------------------------- /tests/data/spec_commented_patches/patch3.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_commented_patches/patch3.patch -------------------------------------------------------------------------------- /tests/data/spec_commented_patches/patch4.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_commented_patches/patch4.patch -------------------------------------------------------------------------------- /tests/data/spec_commented_patches/patch5.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_commented_patches/patch5.patch -------------------------------------------------------------------------------- /tests/data/spec_commented_patches/patch6.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_commented_patches/patch6.patch -------------------------------------------------------------------------------- /tests/data/spec_commented_patches/test-0.1.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_commented_patches/test-0.1.tar.xz -------------------------------------------------------------------------------- /tests/data/spec_commented_patches/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_commented_patches/test.spec -------------------------------------------------------------------------------- /tests/data/spec_conditionalized_changelog/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_conditionalized_changelog/test.spec -------------------------------------------------------------------------------- /tests/data/spec_conditionalized_version/patch0.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_conditionalized_version/patch0.patch -------------------------------------------------------------------------------- /tests/data/spec_conditionalized_version/patch1.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_conditionalized_version/patch1.patch -------------------------------------------------------------------------------- /tests/data/spec_conditionalized_version/patch2.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_conditionalized_version/patch2.patch -------------------------------------------------------------------------------- /tests/data/spec_conditionalized_version/test-0.1.2.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_conditionalized_version/test-0.1.2.tar.xz -------------------------------------------------------------------------------- /tests/data/spec_conditionalized_version/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_conditionalized_version/test.spec -------------------------------------------------------------------------------- /tests/data/spec_includes/description1.inc: -------------------------------------------------------------------------------- 1 | Test package 2 | -------------------------------------------------------------------------------- /tests/data/spec_includes/description2.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_includes/description2.inc -------------------------------------------------------------------------------- /tests/data/spec_includes/macros1.inc: -------------------------------------------------------------------------------- 1 | %global macro1 1 2 | -------------------------------------------------------------------------------- /tests/data/spec_includes/macros2.inc: -------------------------------------------------------------------------------- 1 | %macro2 1 2 | -------------------------------------------------------------------------------- /tests/data/spec_includes/patch0.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_includes/patch0.patch -------------------------------------------------------------------------------- /tests/data/spec_includes/patch1.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_includes/patch1.patch -------------------------------------------------------------------------------- /tests/data/spec_includes/patch2.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_includes/patch2.patch -------------------------------------------------------------------------------- /tests/data/spec_includes/patches.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_includes/patches.inc -------------------------------------------------------------------------------- /tests/data/spec_includes/provides.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_includes/provides.inc -------------------------------------------------------------------------------- /tests/data/spec_includes/test-0.1.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_includes/test-0.1.tar.xz -------------------------------------------------------------------------------- /tests/data/spec_includes/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_includes/test.spec -------------------------------------------------------------------------------- /tests/data/spec_macros/patch0.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_macros/patch0.patch -------------------------------------------------------------------------------- /tests/data/spec_macros/patch1.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_macros/patch1.patch -------------------------------------------------------------------------------- /tests/data/spec_macros/patch2.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_macros/patch2.patch -------------------------------------------------------------------------------- /tests/data/spec_macros/test-v0.1.2~rc2.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_macros/test-v0.1.2~rc2.tar.xz -------------------------------------------------------------------------------- /tests/data/spec_macros/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_macros/test.spec -------------------------------------------------------------------------------- /tests/data/spec_macros/tests-01.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_macros/tests-01.tar.xz -------------------------------------------------------------------------------- /tests/data/spec_minimal/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_minimal/test.spec -------------------------------------------------------------------------------- /tests/data/spec_multiple_sources/test.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_multiple_sources/test.7z -------------------------------------------------------------------------------- /tests/data/spec_multiple_sources/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_multiple_sources/test.spec -------------------------------------------------------------------------------- /tests/data/spec_multiple_sources/test.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_multiple_sources/test.tar.bz2 -------------------------------------------------------------------------------- /tests/data/spec_multiple_sources/test.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_multiple_sources/test.tar.gz -------------------------------------------------------------------------------- /tests/data/spec_multiple_sources/test.tar.lrz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_multiple_sources/test.tar.lrz -------------------------------------------------------------------------------- /tests/data/spec_multiple_sources/test.tar.lz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_multiple_sources/test.tar.lz -------------------------------------------------------------------------------- /tests/data/spec_multiple_sources/test.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_multiple_sources/test.tar.xz -------------------------------------------------------------------------------- /tests/data/spec_multiple_sources/test.tar.zst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_multiple_sources/test.tar.zst -------------------------------------------------------------------------------- /tests/data/spec_multiple_sources/test.txt: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /tests/data/spec_multiple_sources/test.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_multiple_sources/test.zip -------------------------------------------------------------------------------- /tests/data/spec_no_trailing_newline/patch0.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_no_trailing_newline/patch0.patch -------------------------------------------------------------------------------- /tests/data/spec_no_trailing_newline/patch1.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_no_trailing_newline/patch1.patch -------------------------------------------------------------------------------- /tests/data/spec_no_trailing_newline/patch2.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_no_trailing_newline/patch2.patch -------------------------------------------------------------------------------- /tests/data/spec_no_trailing_newline/test-0.1.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_no_trailing_newline/test-0.1.tar.xz -------------------------------------------------------------------------------- /tests/data/spec_no_trailing_newline/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_no_trailing_newline/test.spec -------------------------------------------------------------------------------- /tests/data/spec_patchlist/patch0.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_patchlist/patch0.patch -------------------------------------------------------------------------------- /tests/data/spec_patchlist/patch1.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_patchlist/patch1.patch -------------------------------------------------------------------------------- /tests/data/spec_patchlist/patch2.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_patchlist/patch2.patch -------------------------------------------------------------------------------- /tests/data/spec_patchlist/test-0.1.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_patchlist/test-0.1.tar.xz -------------------------------------------------------------------------------- /tests/data/spec_patchlist/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_patchlist/test.spec -------------------------------------------------------------------------------- /tests/data/spec_prerelease/patch0.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_prerelease/patch0.patch -------------------------------------------------------------------------------- /tests/data/spec_prerelease/patch1.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_prerelease/patch1.patch -------------------------------------------------------------------------------- /tests/data/spec_prerelease/patch2.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_prerelease/patch2.patch -------------------------------------------------------------------------------- /tests/data/spec_prerelease/test-v0.1.2-rc2.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_prerelease/test-v0.1.2-rc2.tar.xz -------------------------------------------------------------------------------- /tests/data/spec_prerelease/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_prerelease/test.spec -------------------------------------------------------------------------------- /tests/data/spec_prerelease2/patch0.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_prerelease2/patch0.patch -------------------------------------------------------------------------------- /tests/data/spec_prerelease2/patch1.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_prerelease2/patch1.patch -------------------------------------------------------------------------------- /tests/data/spec_prerelease2/patch2.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_prerelease2/patch2.patch -------------------------------------------------------------------------------- /tests/data/spec_prerelease2/test-v0.1.2-rc2.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_prerelease2/test-v0.1.2-rc2.tar.xz -------------------------------------------------------------------------------- /tests/data/spec_prerelease2/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_prerelease2/test.spec -------------------------------------------------------------------------------- /tests/data/spec_rpmautospec/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_rpmautospec/test.spec -------------------------------------------------------------------------------- /tests/data/spec_shell_expansions/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_shell_expansions/test.spec -------------------------------------------------------------------------------- /tests/data/spec_traditional/patch0.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_traditional/patch0.patch -------------------------------------------------------------------------------- /tests/data/spec_traditional/patch1.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_traditional/patch1.patch -------------------------------------------------------------------------------- /tests/data/spec_traditional/patch2.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_traditional/patch2.patch -------------------------------------------------------------------------------- /tests/data/spec_traditional/test-0.1.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_traditional/test-0.1.tar.xz -------------------------------------------------------------------------------- /tests/data/spec_traditional/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/data/spec_traditional/test.spec -------------------------------------------------------------------------------- /tests/full.fmf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/full.fmf -------------------------------------------------------------------------------- /tests/integration/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright Contributors to the Packit project. 2 | # SPDX-License-Identifier: MIT 3 | -------------------------------------------------------------------------------- /tests/integration/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/integration/conftest.py -------------------------------------------------------------------------------- /tests/integration/test_specfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/integration/test_specfile.py -------------------------------------------------------------------------------- /tests/performance.fmf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/performance.fmf -------------------------------------------------------------------------------- /tests/performance/test_parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/performance/test_parse.py -------------------------------------------------------------------------------- /tests/smoke.fmf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/smoke.fmf -------------------------------------------------------------------------------- /tests/unit/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright Contributors to the Packit project. 2 | # SPDX-License-Identifier: MIT 3 | -------------------------------------------------------------------------------- /tests/unit/test_changelog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/unit/test_changelog.py -------------------------------------------------------------------------------- /tests/unit/test_conditions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/unit/test_conditions.py -------------------------------------------------------------------------------- /tests/unit/test_formatter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/unit/test_formatter.py -------------------------------------------------------------------------------- /tests/unit/test_guess_packager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/unit/test_guess_packager.py -------------------------------------------------------------------------------- /tests/unit/test_macro_definitions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/unit/test_macro_definitions.py -------------------------------------------------------------------------------- /tests/unit/test_macros.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/unit/test_macros.py -------------------------------------------------------------------------------- /tests/unit/test_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/unit/test_options.py -------------------------------------------------------------------------------- /tests/unit/test_prep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/unit/test_prep.py -------------------------------------------------------------------------------- /tests/unit/test_sections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/unit/test_sections.py -------------------------------------------------------------------------------- /tests/unit/test_sourcelist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/unit/test_sourcelist.py -------------------------------------------------------------------------------- /tests/unit/test_sources.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/unit/test_sources.py -------------------------------------------------------------------------------- /tests/unit/test_spec_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/unit/test_spec_parser.py -------------------------------------------------------------------------------- /tests/unit/test_specfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/unit/test_specfile.py -------------------------------------------------------------------------------- /tests/unit/test_tags.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/unit/test_tags.py -------------------------------------------------------------------------------- /tests/unit/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/unit/test_utils.py -------------------------------------------------------------------------------- /tests/unit/test_value_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packit/specfile/HEAD/tests/unit/test_value_parser.py --------------------------------------------------------------------------------