https://bugzilla.redhat.com/show_bug.cgi?id=2108585

Miro Hrončok <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]



--- Comment #1 from Miro Hrončok <[email protected]> ---
--- /dev/fd/63  2022-07-19 13:43:20.669980478 +0200
+++ /dev/fd/62  2022-07-19 13:43:20.669980478 +0200
@@ -1,47 +1,46 @@
-Name:           fmt
-Version:        8.1.1
-Release:        5%{?dist}
-
-License:        BSD
-Summary:        Small, safe and fast formatting library for C++
-URL:            https://github.com/fmtlib/%{name}
-Source0:        %{url}/archive/%{version}.tar.gz
+%global appname fmt
+
+Name: fmt8
+Version: 8.1.1
+Release: 6%{?dist}
+
+License: BSD
+Summary: Compatibility version of the %{appname} library
+URL: https://github.com/fmtlib/%{appname}
+Source0: %{url}/archive/%{version}.tar.gz

 # fix for https://github.com/fmtlib/fmt/issues/2717
-Patch100:       %{name}-fix_implicit_ptr_conv.patch
+Patch100: %{name}-fix_implicit_ptr_conv.patch

-BuildRequires:  cmake
-BuildRequires:  gcc
-BuildRequires:  gcc-c++
-BuildRequires:  ninja-build
-
-# This package replaces the old name of cppformat
-Provides:       cppformat = %{?epoch:%{epoch}:}%{version}-%{release}
-Obsoletes:      cppformat < %{?epoch:%{epoch}:}%{version}-%{release}
+BuildRequires: cmake
+BuildRequires: gcc
+BuildRequires: gcc-c++
+BuildRequires: ninja-build

 %description
 C++ Format is an open-source formatting library for C++. It can be used as a
 safe alternative to printf or as a fast alternative to IOStreams.

-%package        devel
-Summary:        Development files for %{name}
-Requires:       %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
-
-# This package replaces the old name of cppformat
-Provides:       cppformat-devel = %{?epoch:%{epoch}:}%{version}-%{release}
-Obsoletes:      cppformat-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Warning! This is a limited-time compatibility version of %{appname}.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
+Conflicts: %{appname}-devel%{?_isa}

-%description    devel
+%description devel
 This package contains the header file for using %{name}.

+Warning! This is a limited-time compatibility version of %{appname}.
+
 %prep
-%autosetup -p1
+%autosetup -n %{appname}-%{version} -p1

 %build
 %cmake -G Ninja \
     -DCMAKE_BUILD_TYPE=RelWithDebInfo \
     -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON \
-    -DFMT_CMAKE_DIR:STRING=%{_libdir}/cmake/%{name} \
+    -DFMT_CMAKE_DIR:STRING=%{_libdir}/cmake/%{appname} \
     -DFMT_LIB_DIR:STRING=%{_libdir}
 %cmake_build

@@ -54,12 +53,12 @@
 %files
 %license LICENSE.rst
 %doc ChangeLog.rst README.rst
-%{_libdir}/lib%{name}.so.8*
+%{_libdir}/lib%{appname}.so.8*

 %files devel
-%{_includedir}/%{name}
-%{_libdir}/lib%{name}.so
-%{_libdir}/cmake/%{name}
-%{_libdir}/pkgconfig/%{name}.pc
+%{_includedir}/%{appname}
+%{_libdir}/lib%{appname}.so
+%{_libdir}/cmake/%{appname}
+%{_libdir}/pkgconfig/%{appname}.pc

 %changelog


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2108585
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to