Add explicit conflicts to help with upgrades

sysprof-capture moved from -devel to -capture-devel. Add explicit
conflicts so that dnf wouldn't try to install older -devel package
together with new -capture-devel (which would fail due to file
conflicts).
This commit is contained in:
Kalev Lember 2021-03-16 10:06:56 +01:00
parent ae9bc8d2b4
commit d14f7bd364

View File

@ -2,7 +2,7 @@
Name: sysprof Name: sysprof
Version: 3.39.94 Version: 3.39.94
Release: 1%{?dist} Release: 2%{?dist}
Summary: A system-wide Linux profiler Summary: A system-wide Linux profiler
License: GPLv3+ License: GPLv3+
@ -66,6 +66,8 @@ The libsysprof-ui package contains the Sysprof UI library.
Summary: Development files for sysprof-capture static library Summary: Development files for sysprof-capture static library
License: BSD-2-Clause-Patent License: BSD-2-Clause-Patent
Provides: sysprof-capture-static = %{version}-%{release} Provides: sysprof-capture-static = %{version}-%{release}
# Split out in F34
Conflicts: %{name}-devel < 3.39.94-1
%description capture-devel %description capture-devel
The %{name}-capture-devel package contains the sysprof-capture static library and header files. The %{name}-capture-devel package contains the sysprof-capture static library and header files.
@ -162,6 +164,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%changelog %changelog
* Tue Mar 16 2021 Kalev Lember <klember@redhat.com> - 3.39.94-2
- Add explicit conflicts to help with upgrades
* Thu Feb 25 2021 Kalev Lember <klember@redhat.com> - 3.39.94-1 * Thu Feb 25 2021 Kalev Lember <klember@redhat.com> - 3.39.94-1
- Update to 3.39.94 - Update to 3.39.94