|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
%undefine __cmake_in_source_build
|
|
|
|
|
|
|
|
|
|
%bcond_without doc
|
|
|
|
|
%bcond_with doc
|
|
|
|
|
Name: fmt
|
|
|
|
|
Version: 7.0.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
@ -36,11 +36,14 @@ BuildRequires: python%{python3_version_nodots}-breathe
|
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
BuildRequires: python3-breathe
|
|
|
|
|
%endif
|
|
|
|
|
%else
|
|
|
|
|
Provides: %{name}-doc%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-doc%{?_isa} < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# This package replaces the old name of cppformat
|
|
|
|
|
Provides: cppformat = %{version}-%{release}
|
|
|
|
|
Obsoletes: cppformat < %{version}-%{release}
|
|
|
|
|
Provides: cppformat%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Obsoletes: cppformat%{?_isa} < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
C++ Format is an open-source formatting library for C++. It can be used as a
|
|
|
|
@ -48,11 +51,11 @@ safe alternative to printf or as a fast alternative to IOStreams.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
# This package replaces the old name of cppformat
|
|
|
|
|
Provides: cppformat-devel = %{version}-%{release}
|
|
|
|
|
Obsoletes: cppformat-devel < %{version}-%{release}
|
|
|
|
|
Provides: cppformat-devel%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Obsoletes: cppformat-devel%{?_isa} < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package contains the header file for using %{name}.
|
|
|
|
@ -64,8 +67,8 @@ License: Python
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
# This package replaces the old name of cppformat
|
|
|
|
|
Provides: cppformat-doc = %{version}-%{release}
|
|
|
|
|
Obsoletes: cppformat-doc < %{version}-%{release}
|
|
|
|
|
Provides: cppformat-doc%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Obsoletes: cppformat-doc%{?_isa} < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
This package contains documentation for developer documentation for %{name}.
|
|
|
|
|