Compare commits
42 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3f4f3cd4fc | |||
| a3d29eef74 | |||
| 3be47d6c62 | |||
| 2238afd687 | |||
| d8668428d8 | |||
| e51e5a69ba | |||
| 502cfa3c19 | |||
| 379f3f2e67 | |||
| 33cfb90cb4 | |||
| ee1cb0b758 | |||
| 9cbe1d61af | |||
| 355f7f75db | |||
| 7e8d112424 | |||
| f8100e7d02 | |||
| 784624a9bd | |||
| 918c865653 | |||
| 9767318eeb | |||
| 7983db5a1f | |||
| a6118fc118 | |||
| d37ca15647 | |||
| 57c6a47097 | |||
| aaf2333547 | |||
| 5c7c4b4d3e | |||
| 24f4c8687c | |||
| 0ed7e99de4 | |||
| ff3b1910c7 | |||
| 5910de002e | |||
| c46c09d302 | |||
| 9321c2cdfe | |||
| ee037332b6 | |||
| d0045c4ffd | |||
| f908d50d0e | |||
| 74c4d4849c | |||
| 01e5f237f4 | |||
| 9777ed765a | |||
| ac375e4e67 | |||
| faf981e41c | |||
| 8219cabb33 | |||
| 4d79e13212 | |||
| 681bf17075 | |||
| 83f72eb381 | |||
| 5ef18e859d |
@@ -0,0 +1 @@
|
||||
1
|
||||
+17
-3
@@ -1,3 +1,17 @@
|
||||
/fmf-1.5.0.tar.gz
|
||||
/fmf-1.6.0.tar.gz
|
||||
/fmf-1.6.1.tar.gz
|
||||
/fmf-0.4.tar.gz
|
||||
/fmf-0.5.tar.gz
|
||||
/fmf-0.6.tar.gz
|
||||
/fmf-0.7.tar.gz
|
||||
/fmf-0.8.tar.gz
|
||||
/fmf-0.10.tar.gz
|
||||
/fmf-0.11.tar.gz
|
||||
/fmf-0.12.tar.gz
|
||||
/fmf-0.13.tar.gz
|
||||
/fmf-0.14.tar.gz
|
||||
/fmf-0.15.tar.gz
|
||||
/fmf-0.15.2.tar.gz
|
||||
/fmf-0.16.0.tar.gz
|
||||
/fmf-1.0.0.tar.gz
|
||||
/fmf-1.1.0.tar.gz
|
||||
/fmf-1.2.0.tar.gz
|
||||
/fmf-1.2.1.tar.gz
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
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
|
||||
@@ -1,3 +0,0 @@
|
||||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 0.106.0.post1.dev8+g521f1e1d.
|
||||
@@ -1,22 +1,16 @@
|
||||
Name: fmf
|
||||
Version: 1.6.1
|
||||
Release: 1%{?dist}
|
||||
Name: fmf
|
||||
Version: 1.2.1
|
||||
Release: 1%{?dist}
|
||||
|
||||
Summary: Flexible Metadata Format
|
||||
License: GPL-2.0-or-later
|
||||
BuildArch: noarch
|
||||
Summary: Flexible Metadata Format
|
||||
License: GPLv2+
|
||||
BuildArch: noarch
|
||||
|
||||
URL: https://github.com/teemtee/fmf
|
||||
Source: %{pypi_source fmf}
|
||||
URL: https://github.com/psss/fmf
|
||||
Source0: https://github.com/psss/fmf/releases/download/%{version}/fmf-%{version}.tar.gz
|
||||
|
||||
# Main fmf package requires the Python module
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3dist(docutils)
|
||||
BuildRequires: git-core
|
||||
Requires: git-core
|
||||
|
||||
Obsoletes: python3-fmf < %{version}-%{release}
|
||||
%py_provides python3-fmf
|
||||
Requires: python%{python3_pkgversion}-%{name} == %{version}-%{release}
|
||||
|
||||
%description
|
||||
The fmf Python module and command line tool implement a flexible
|
||||
@@ -24,85 +18,65 @@ 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 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
|
||||
%autosetup -p1 -n fmf-%{version}
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -x tests %{?epel:-w}
|
||||
%autosetup
|
||||
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
cp docs/header.txt man.rst
|
||||
tail -n+7 README.rst >> man.rst
|
||||
rst2man man.rst > fmf.1
|
||||
%py3_build
|
||||
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files fmf
|
||||
|
||||
%py3_install
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
install -pm 644 fmf.1* %{buildroot}%{_mandir}/man1
|
||||
|
||||
|
||||
%check
|
||||
%pyproject_check_import
|
||||
%{__python3} -m pytest -vv -c tests/unit/pytest.ini -m 'not web'
|
||||
|
||||
|
||||
%files -f %{pyproject_files}
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
|
||||
%files
|
||||
%{_mandir}/man1/*
|
||||
%{_bindir}/%{name}
|
||||
%doc README.rst examples
|
||||
%license LICENSE
|
||||
|
||||
%files -n python%{python3_pkgversion}-%{name}
|
||||
%{python3_sitelib}/%{name}/
|
||||
%{python3_sitelib}/%{name}-*.egg-info
|
||||
%license LICENSE
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 17 2025 Packit <hello@packit.dev> - 1.6.1-1
|
||||
- Update to version 1.6.1
|
||||
|
||||
* 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
|
||||
|
||||
* Mon Jun 17 2024 Lukáš Zachar <lzachar@redhat.com> - 1.4.1-1
|
||||
- Use local dict instead of modifying `locals()`
|
||||
|
||||
* Wed Jun 05 2024 Petr Šplíchal <psplicha@redhat.com> - 1.4.0-1
|
||||
- Introduce a new page for release notes
|
||||
- Extend the `filter()` documentation slightly
|
||||
- Implement the '~' merge operation
|
||||
- Support escaping `|` and `&` in `utils.filter()`
|
||||
- Accept additional rules in the `adjust()` call (#230)
|
||||
- Avoid `copy()` calls in `adjust()`
|
||||
- Directive `select` to control node selection
|
||||
- Allow filtering based on the node name
|
||||
- Drop epel-8
|
||||
- Fix github action
|
||||
- Remove travis.yaml
|
||||
- Turn schema validation method into a stand-alone function
|
||||
- Limit number of tests run for integration with tmt (#225)
|
||||
- Add a `Toolbelt Catalog` entry for `fmf`
|
||||
|
||||
* Fri Sep 29 2023 Petr Šplíchal <psplicha@redhat.com> - 1.3.0-1
|
||||
- Allow case-insensitive context matching
|
||||
- Move the copr repository to the `teemtee` group
|
||||
- Fix missing file require for unit tests
|
||||
- Add callback to adjust() to make it observable by callers
|
||||
- Drop support for `el-8` and `python-3.6`
|
||||
- Fix docs building on readthedocs
|
||||
- Install `yq` needed for `tmt` integration tests
|
||||
- Include `srpm_build_deps` in the packit config
|
||||
- Remove `metadata` from Packit config
|
||||
- Add missing build job to Packit config
|
||||
- Update pre-commit checks to the latest versions
|
||||
- Require `fmf` in tests, remove obsolete coverage
|
||||
- Fix a typo in the merging minus sign documentation
|
||||
|
||||
* Thu Jul 21 2022 Lukáš Zachar <lzachar@redhat.com> - 1.2.1-1
|
||||
- Retry if shallow clone fails
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
prepare:
|
||||
how: install
|
||||
package: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
@@ -0,0 +1,3 @@
|
||||
summary: Minimal smoke test
|
||||
execute:
|
||||
script: fmf --help
|
||||
@@ -0,0 +1,11 @@
|
||||
summary: Integration with tmt
|
||||
discover:
|
||||
how: fmf
|
||||
url: https://github.com/psss/tmt
|
||||
ref: fedora
|
||||
filter: tier:1
|
||||
prepare:
|
||||
how: install
|
||||
package:
|
||||
- fmf
|
||||
- tmt-all
|
||||
@@ -0,0 +1,5 @@
|
||||
summary: Upstream fmf tests
|
||||
discover:
|
||||
how: fmf
|
||||
url: https://github.com/psss/fmf
|
||||
ref: fedora
|
||||
@@ -1 +1 @@
|
||||
SHA512 (fmf-1.6.1.tar.gz) = 5e6af03fcfe5ff74b5796fd8c0bc0fcf34f19639f16a2c8e621bc1c178cd2bf9d3212b5d8fefc77c3bbbecd3954f88e0053879cb319ad441a7a2c80aff73e784
|
||||
SHA512 (fmf-1.2.1.tar.gz) = 1857ab77a2187df7f92b223b1404478a2217f53ba7a5d16140fda1cd527214fe5df1ebf5ca818a2aae0872568608c0c69e2b16aa3d2252d2fdcd533b2d828d27
|
||||
|
||||
Reference in New Issue
Block a user