53 Commits

Author SHA1 Message Date
Lukáš Zachar 279a56d18f Upstream hotfix 2024-06-17 17:48:53 +02:00
Petr Šplíchal 0bb1a6fc69 Release fmf-1.4.0 2024-06-05 16:03:51 +02:00
Fedora Release Engineering 6d3d245879 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 11:48:48 +00:00
Fedora Release Engineering ab09665a3f Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 19:33:28 +00:00
Petr Šplíchal a7010a89e8 Release fmf-1.3.0 2023-10-02 17:15:16 +02:00
Petr Šplíchal 8a7a321238 Install yq which is needed by some newer tests 2023-10-02 17:15:16 +02:00
Fedora Release Engineering b09044e488 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 19:58:35 +00:00
Python Maint 5d6455fdf3 Rebuilt for Python 3.12 2023-06-15 12:52:03 +02:00
Petr Šplíchal 237eb03c15 Update urls of the upstream test repositories 2023-02-06 15:34:11 +01:00
Miro Hrončok 0b07d69e08 Rebuilt to change Python shebangs to /usr/bin/python3.6 on EPEL 8
See https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org/thread/RE3PG72B5AX7NTACPDSBGOWCMN7I3OQJ/
2023-02-06 15:05:30 +01:00
Fedora Release Engineering 08e2b1f2cc Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 03:40:24 +00:00
Lukas Zachar 3f4f3cd4fc Release fmf-1.2.1 2022-07-21 13:22:52 +02:00
Fedora Release Engineering a3d29eef74 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 03:24:02 +00:00
Lukas Zachar 3be47d6c62 Release fmf-1.2.0 2022-07-19 11:25:05 +02:00
Python Maint 2238afd687 Rebuilt for Python 3.11 2022-06-13 19:48:34 +02:00
Petr Šplíchal d8668428d8 Run Tier 1 integration tests to speed up testing
The whole Tier 2 coverage is already executed upstream and there
is nothing special about the Fedora environment to run them again.
2022-06-09 18:06:56 +02:00
Lukas Zachar e51e5a69ba Release fmf-1.1.0 2022-06-08 18:46:45 +02:00
Fedora Release Engineering 502cfa3c19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 03:13:16 +00:00
Petr Šplíchal 379f3f2e67 Release fmf-1.0.0 2021-11-11 11:52:36 +01:00
Petr Šplíchal 33cfb90cb4 Report test results as separate plans 2021-10-11 10:50:04 +02:00
Fedora Release Engineering ee1cb0b758 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 23:10:12 +00:00
Python Maint 9cbe1d61af Rebuilt for Python 3.10 2021-06-04 20:04:25 +02:00
Petr Šplíchal 355f7f75db Release fmf-0.16.0 2021-04-15 11:38:00 +02:00
Petr Šplíchal 7e8d112424 Release fmf-0.15.2 2021-03-26 17:14:57 +01:00
Petr Šplíchal f8100e7d02 Enable tests from the upstream fmf and tmt repos 2021-03-11 21:08:13 +01:00
Fedora Release Engineering 784624a9bd - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 05:44:38 +00:00
Petr Šplíchal 918c865653 Release fmf-0.14 2021-01-12 14:43:39 +01:00
Petr Šplíchal 9767318eeb Release fmf-0.13 2020-11-18 14:34:14 +01:00
Fedora Release Engineering 7983db5a1f - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 17:39:11 +00:00
Petr Šplíchal a6118fc118 Release fmf-0.12 2020-06-04 10:24:19 +02:00
Miro Hrončok d37ca15647 Rebuilt for Python 3.9 2020-05-26 02:45:34 +02:00
Petr Šplíchal 57c6a47097 Enable back python2-fmf subpackage for RHEL7 2020-03-17 12:00:13 +01:00
Petr Šplíchal aaf2333547 Use a single spec for all branches (merge epel8) 2020-02-15 18:36:53 +01:00
Petr Šplíchal 5c7c4b4d3e Import fmf-0.11 2020-02-15 18:10:58 +01:00
Fedora Release Engineering 24f4c8687c - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 18:45:29 +00:00
Petr Šplíchal 0ed7e99de4 Remove package.cfg 2019-10-30 22:40:17 +01:00
Petr Šplíchal ff3b1910c7 Import fmf-0.10 2019-10-30 22:39:00 +01:00
Petr Šplíchal 5910de002e Import fmf-0.10 2019-10-30 22:16:28 +01:00
Petr Šplíchal c46c09d302 Merge branch 'master' into epel8 2019-09-30 16:34:06 +02:00
Gwyn Ciesla 9321c2cdfe "Adding package.cfg file" 2019-09-30 09:23:22 -05:00
Petr Šplíchal ee037332b6 Build Python 3 packages only, bump version to 0.8 2019-09-30 13:50:09 +02:00
Miro Hrončok d0045c4ffd Rebuilt for Python 3.8 2019-08-19 10:14:01 +02:00
Petr Šplíchal f908d50d0e Version bump and changelog entry for 0.7 2019-07-26 15:07:51 +02:00
Fedora Release Engineering 74c4d4849c - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 00:48:35 +00:00
Fedora Release Engineering 01e5f237f4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 19:56:00 +00:00
Miro Hrončok 9777ed765a Drop Python 2 subpackage on Fedora 30+ (#1647798) 2019-01-15 20:28:56 +01:00
Zbigniew Jędrzejewski-Szmek ac375e4e67 Drop explicit locale setting
Python3 now sets unicode locale automatically, this workaround
should not be necessary anymore.
2018-11-19 00:06:37 +01:00
Petr Šplíchal faf981e41c Version bump and changelog entry for 0.5 2018-10-08 14:44:28 +02:00
Fedora Release Engineering 8219cabb33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 00:42:39 +00:00
Miro Hrončok 4d79e13212 Rebuilt for Python 3.7 2018-06-19 10:43:03 +02:00
Petr Šplíchal 681bf17075 Import fmf-0.5 2018-06-12 12:37:27 +02:00
Petr Šplíchal 83f72eb381 Version bump and changelog entry for 0.5 2018-06-12 12:31:32 +02:00
Petr Šplíchal 5ef18e859d Initial fmf import [BZ#1575645] 2018-05-10 14:32:59 +02:00
12 changed files with 98 additions and 128 deletions
+1
View File
@@ -0,0 +1 @@
1
+20 -3
View File
@@ -1,3 +1,20 @@
/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
/fmf-1.3.0.tar.gz
/fmf-1.4.0.tar.gz
/fmf-1.4.1.tar.gz
-80
View File
@@ -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
-3
View File
@@ -1,3 +0,0 @@
# fmf
The fmf package
-3
View File
@@ -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
View File
@@ -0,0 +1 @@
resultsdb-testcase: separate
+46 -38
View File
@@ -1,22 +1,16 @@
Name: fmf
Version: 1.6.1
Release: 1%{?dist}
Name: fmf
Version: 1.4.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,51 +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()`
+5
View File
@@ -0,0 +1,5 @@
prepare:
- how: install
package: fmf
execute:
how: tmt
+3
View File
@@ -0,0 +1,3 @@
summary: Minimal smoke test
execute:
script: fmf --help
+16
View File
@@ -0,0 +1,16 @@
summary: Integration with tmt
discover:
how: fmf
url: https://github.com/teemtee/tmt
ref: fedora
filter: tier:1
prepare+:
- how: install
package:
- jq
- python3-pip
- tmt-all
- how: shell
script:
- pip3 install --user yq || pip3 install yq
- yq --help
+5
View File
@@ -0,0 +1,5 @@
summary: Upstream fmf tests
discover:
how: fmf
url: https://github.com/teemtee/fmf
ref: fedora
+1 -1
View File
@@ -1 +1 @@
SHA512 (fmf-1.6.1.tar.gz) = 5e6af03fcfe5ff74b5796fd8c0bc0fcf34f19639f16a2c8e621bc1c178cd2bf9d3212b5d8fefc77c3bbbecd3954f88e0053879cb319ad441a7a2c80aff73e784
SHA512 (fmf-1.4.1.tar.gz) = 3ea8596bd7f678aea1aafe8e1fefecbabe96c4e9e9b67c43450594c2769b3de0768b1bd531bbd2a3d7add1d24b14c69ec3a8d2c8013e1d799b7e2ce723a3ac1f