Add Provides: fmt-static to fmt-devel
fmt can optionally be used as a header-only library by defining FMT_HEADER_ONLY, in which case packages must Requires: fmt-static instead of fmt-devel: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_packaging_header_only_libraries
This commit is contained in:
parent
b1f45a42c1
commit
6e1e0115c9
7
fmt.spec
7
fmt.spec
@ -1,6 +1,6 @@
|
|||||||
Name: fmt
|
Name: fmt
|
||||||
Version: 10.0.0
|
Version: 10.0.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
Summary: Small, safe and fast formatting library for C++
|
Summary: Small, safe and fast formatting library for C++
|
||||||
@ -26,6 +26,8 @@ safe alternative to printf or as a fast alternative to IOStreams.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
# for usage with -DFMT_HEADER_ONLY
|
||||||
|
Provides: %{name}-static = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
|
||||||
# This package replaces the old name of cppformat
|
# This package replaces the old name of cppformat
|
||||||
Provides: cppformat-devel = %{?epoch:%{epoch}:}%{version}-%{release}
|
Provides: cppformat-devel = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
@ -63,6 +65,9 @@ This package contains the header file for using %{name}.
|
|||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 03 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 10.0.0-4
|
||||||
|
- Add Provides: fmt-static to fmt-devel
|
||||||
|
|
||||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-3
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user