Skip to content

Commit

Permalink
Merge python-fmf with fmf
Browse files Browse the repository at this point in the history
  • Loading branch information
LecrisUT committed Aug 18, 2024
1 parent 2ddc36f commit acd1415
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions fmf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,16 @@ Source: %{pypi_source fmf}
BuildRequires: python3-devel
BuildRequires: python3dist(docutils)
BuildRequires: git-core
Requires: python3-fmf == %{version}-%{release}
Requires: git-core

%description
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 command line tool.
%py_provides python3-fmf


%package -n python3-fmf
Summary: %{summary}
Requires: git-core

%description -n python3-fmf
%description
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
Expand Down Expand Up @@ -64,18 +52,14 @@ install -pm 644 fmf.1* %{buildroot}%{_mandir}/man1
%pyproject_check_import


%files
%files -f %{pyproject_files}
%{_mandir}/man1/*
%{_bindir}/%{name}
%doc README.rst examples
%license LICENSE

%files -n python3-fmf -f %{pyproject_files}
# Epel9 does not tag the license file in pyproject_files as a license. Manually install it in this case
%if 0%{?el9}
%license LICENSE
%endif
%doc README.rst


%changelog
Expand Down

0 comments on commit acd1415

Please sign in to comment.