Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d8dc80acf6 | ||
|
|
951b6a0659 | ||
|
|
b322157698 | ||
|
|
80990bd28f | ||
|
|
c14e6ac107 | ||
|
|
75bd657ef9 | ||
|
|
d60817f093 | ||
|
|
d031b84633 | ||
|
|
f75ebe3d48 | ||
|
|
2387ba797a | ||
|
|
62617d1be8 | ||
|
|
d0c9729fde |
@@ -18,3 +18,7 @@
|
|||||||
/fmf-1.3.0.tar.gz
|
/fmf-1.3.0.tar.gz
|
||||||
/fmf-1.4.0.tar.gz
|
/fmf-1.4.0.tar.gz
|
||||||
/fmf-1.4.1.tar.gz
|
/fmf-1.4.1.tar.gz
|
||||||
|
/fmf-1.5.0.tar.gz
|
||||||
|
/fmf-1.6.0.tar.gz
|
||||||
|
/fmf-1.6.1.tar.gz
|
||||||
|
/fmf-1.7.0.tar.gz
|
||||||
|
|||||||
@@ -0,0 +1,80 @@
|
|||||||
|
specfile_path: fmf.spec
|
||||||
|
files_to_sync:
|
||||||
|
- fmf.spec
|
||||||
|
- .packit.yaml
|
||||||
|
|
||||||
|
upstream_package_name: fmf
|
||||||
|
downstream_package_name: fmf
|
||||||
|
|
||||||
|
# Epel9 fails to build because of too old version of setuptools_scm
|
||||||
|
# Need to create archive with PKG-INFO
|
||||||
|
actions:
|
||||||
|
create-archive:
|
||||||
|
- "hatch build -t sdist"
|
||||||
|
- "sh -c 'echo dist/fmf-*.tar.gz'"
|
||||||
|
get-current-version:
|
||||||
|
- hatch version
|
||||||
|
|
||||||
|
# Common definitions
|
||||||
|
_:
|
||||||
|
# Copr setup
|
||||||
|
- &copr
|
||||||
|
list_on_homepage: True
|
||||||
|
preserve_project: True
|
||||||
|
owner: "@teemtee"
|
||||||
|
|
||||||
|
# Supported targets
|
||||||
|
- targets: &targets
|
||||||
|
- fedora-all
|
||||||
|
- epel-9
|
||||||
|
- epel-10
|
||||||
|
|
||||||
|
srpm_build_deps:
|
||||||
|
- hatch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
# Build pull requests
|
||||||
|
- job: copr_build
|
||||||
|
trigger: pull_request
|
||||||
|
targets: *targets
|
||||||
|
|
||||||
|
# Test pull requests
|
||||||
|
- job: tests
|
||||||
|
trigger: pull_request
|
||||||
|
targets: *targets
|
||||||
|
|
||||||
|
# Build commits merged to main (copr latest)
|
||||||
|
- job: copr_build
|
||||||
|
trigger: commit
|
||||||
|
branch: main
|
||||||
|
targets: *targets
|
||||||
|
<<: *copr
|
||||||
|
project: latest
|
||||||
|
release_suffix: "{PACKIT_PROJECT_BRANCH}"
|
||||||
|
|
||||||
|
# Build release (copr stable)
|
||||||
|
- job: copr_build
|
||||||
|
trigger: release
|
||||||
|
targets: *targets
|
||||||
|
<<: *copr
|
||||||
|
project: stable
|
||||||
|
|
||||||
|
# Propose downstream pull requests
|
||||||
|
- job: propose_downstream
|
||||||
|
trigger: release
|
||||||
|
dist_git_branches: *targets
|
||||||
|
|
||||||
|
# Build in Koji
|
||||||
|
- job: koji_build
|
||||||
|
trigger: commit
|
||||||
|
allowed_pr_authors: ["packit", "all_committers"]
|
||||||
|
allowed_committers: ["packit", "all_committers"]
|
||||||
|
dist_git_branches: *targets
|
||||||
|
|
||||||
|
# Create bodhi updates
|
||||||
|
- job: bodhi_update
|
||||||
|
trigger: commit
|
||||||
|
dist_git_branches:
|
||||||
|
- fedora-branched
|
||||||
|
- epel-9
|
||||||
|
- epel-10
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
This repository is maintained by packit.
|
||||||
|
https://packit.dev/
|
||||||
|
The file was generated using packit 1.2.0.post1.dev3+g3adf9afe.
|
||||||
@@ -1,17 +1,22 @@
|
|||||||
Name: fmf
|
Name: fmf
|
||||||
Version: 1.4.1
|
Version: 1.7.0
|
||||||
Release: 3%{?dist}
|
Release: 6%{?dist}
|
||||||
|
|
||||||
Summary: Flexible Metadata Format
|
Summary: Flexible Metadata Format
|
||||||
# Automatically converted from old format: GPLv2+ - review is highly recommended.
|
License: GPL-2.0-or-later
|
||||||
License: GPL-2.0-or-later
|
BuildArch: noarch
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
URL: https://github.com/psss/fmf
|
URL: https://github.com/teemtee/fmf
|
||||||
Source0: https://github.com/psss/fmf/releases/download/%{version}/fmf-%{version}.tar.gz
|
Source: %{pypi_source fmf}
|
||||||
|
|
||||||
# Main fmf package requires the Python module
|
# Main fmf package requires the Python module
|
||||||
Requires: python%{python3_pkgversion}-%{name} == %{version}-%{release}
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3dist(docutils)
|
||||||
|
BuildRequires: git-core
|
||||||
|
Requires: git-core
|
||||||
|
|
||||||
|
Obsoletes: python3-fmf < %{version}-%{release}
|
||||||
|
%py_provides python3-fmf
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The fmf Python module and command line tool implement a flexible
|
The fmf Python module and command line tool implement a flexible
|
||||||
@@ -19,65 +24,72 @@ format for defining metadata in plain text files which can be
|
|||||||
stored close to the source code. Thanks to hierarchical structure
|
stored close to the source code. Thanks to hierarchical structure
|
||||||
with support for inheritance and elasticity it provides an
|
with support for inheritance and elasticity it provides an
|
||||||
efficient way to organize data into well-sized text documents.
|
efficient way to organize data into well-sized text documents.
|
||||||
This package contains the command line tool.
|
|
||||||
|
|
||||||
%?python_enable_dependency_generator
|
|
||||||
|
|
||||||
|
|
||||||
%package -n python%{python3_pkgversion}-%{name}
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildRequires: python%{python3_pkgversion}-devel
|
|
||||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
||||||
BuildRequires: python%{python3_pkgversion}-pytest
|
|
||||||
BuildRequires: python%{python3_pkgversion}-ruamel-yaml
|
|
||||||
BuildRequires: python%{python3_pkgversion}-filelock
|
|
||||||
BuildRequires: python%{python3_pkgversion}-jsonschema
|
|
||||||
BuildRequires: git-core
|
|
||||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
|
|
||||||
Requires: git-core
|
|
||||||
|
|
||||||
%description -n python%{python3_pkgversion}-%{name}
|
|
||||||
The fmf Python module and command line tool implement a flexible
|
|
||||||
format for defining metadata in plain text files which can be
|
|
||||||
stored close to the source code. Thanks to hierarchical structure
|
|
||||||
with support for inheritance and elasticity it provides an
|
|
||||||
efficient way to organize data into well-sized text documents.
|
|
||||||
This package contains the Python 3 module.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup -p1 -n fmf-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%generate_buildrequires
|
||||||
|
%pyproject_buildrequires -x tests %{?epel:-w}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_wheel
|
||||||
|
cp docs/header.txt man.rst
|
||||||
|
tail -n+7 README.rst >> man.rst
|
||||||
|
rst2man man.rst > fmf.1
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
|
%pyproject_save_files fmf
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_mandir}/man1
|
mkdir -p %{buildroot}%{_mandir}/man1
|
||||||
install -pm 644 fmf.1* %{buildroot}%{_mandir}/man1
|
install -pm 644 fmf.1* %{buildroot}%{_mandir}/man1
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} -m pytest -vv -c tests/unit/pytest.ini -m 'not web'
|
%pyproject_check_import
|
||||||
|
|
||||||
|
|
||||||
%{!?_licensedir:%global license %%doc}
|
%files -f %{pyproject_files}
|
||||||
|
|
||||||
%files
|
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%doc README.rst examples
|
%doc README.rst examples
|
||||||
%license LICENSE
|
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-%{name}
|
|
||||||
%{python3_sitelib}/%{name}/
|
|
||||||
%{python3_sitelib}/%{name}-*.egg-info
|
|
||||||
%license LICENSE
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 1.7.0-5
|
||||||
|
- Rebuilt for Python 3.14.0rc3 bytecode
|
||||||
|
|
||||||
|
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 1.7.0-4
|
||||||
|
- Rebuilt for Python 3.14.0rc2 bytecode
|
||||||
|
|
||||||
|
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 04 2025 Python Maint <python-maint@redhat.com> - 1.7.0-2
|
||||||
|
- Rebuilt for Python 3.14
|
||||||
|
|
||||||
|
* Fri Mar 07 2025 Packit <hello@packit.dev> - 1.7.0-1
|
||||||
|
- Update to version 1.7.0
|
||||||
|
|
||||||
|
* Fri Jan 17 2025 Packit <hello@packit.dev> - 1.6.1-1
|
||||||
|
- Update to version 1.6.1
|
||||||
|
|
||||||
|
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 07 2025 Packit <hello@packit.dev> - 1.6.0-1
|
||||||
|
- Update to version 1.6.0
|
||||||
|
|
||||||
|
* Wed Dec 04 2024 Packit <hello@packit.dev> - 1.5.0-1
|
||||||
|
- Update to version 1.5.0
|
||||||
|
|
||||||
* Thu Jul 25 2024 Miroslav Suchý <msuchy@redhat.com> - 1.4.1-3
|
* Thu Jul 25 2024 Miroslav Suchý <msuchy@redhat.com> - 1.4.1-3
|
||||||
- convert license to SPDX
|
- convert license to SPDX
|
||||||
|
|
||||||
|
|||||||
+11
@@ -0,0 +1,11 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- fedora-*
|
||||||
|
decision_contexts:
|
||||||
|
- bodhi_update_push_stable
|
||||||
|
subject_type: koji_build
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tmt.functional}
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/smoke.functional}
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional}
|
||||||
|
|
||||||
@@ -1 +1 @@
|
|||||||
SHA512 (fmf-1.4.1.tar.gz) = 3ea8596bd7f678aea1aafe8e1fefecbabe96c4e9e9b67c43450594c2769b3de0768b1bd531bbd2a3d7add1d24b14c69ec3a8d2c8013e1d799b7e2ce723a3ac1f
|
SHA512 (fmf-1.7.0.tar.gz) = b78fa3730da01ce13dbb09c54e9e3977c26e90f6d4f13ffbc166f88d040adf7931fe6759c3de991ec8a261b676d8825f44517e417523693aae7e76f9b4557222
|
||||||
|
|||||||
Reference in New Issue
Block a user