From 1a54303a07f93424b7457c62ea10d5a0c4db244ab0360d4d3bbc4d540e8c54c6 Mon Sep 17 00:00:00 2001 From: Christophe Marin Date: Fri, 21 Apr 2023 15:10:15 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kitinerary?expand=0&rev=171 --- kitinerary.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/kitinerary.spec b/kitinerary.spec index 285b9fb..019fe8d 100644 --- a/kitinerary.spec +++ b/kitinerary.spec @@ -50,7 +50,8 @@ BuildRequires: cmake(Qt5Gui) BuildRequires: cmake(Qt5Qml) BuildRequires: cmake(Qt5Test) BuildRequires: cmake(ZXing) -Requires: libKPim5Itinerary5 = %{version} +%requires_eq libKPim5Itinerary5 +Conflicts: libKPimItinerary5 < %{version} %description Kitinerary is a library which provides a data model and a system to extract information @@ -58,7 +59,7 @@ from travel reservations. The model can then be reused in other applications. %package -n libKPim5Itinerary5 Summary: Data model and extraction system for travel reservations -Recommends: %{name} +%requires_eq %{name} # Renamed Obsoletes: libKPimItinerary5-lang @@ -105,12 +106,12 @@ export CXX=g++-10 %ldconfig_scriptlets -n libKPim5Itinerary5 %files +%license LICENSES/* +%{_kf5_debugdir}/*.categories %{_kf5_libexecdir}/kitinerary-extractor %{_kf5_sharedir}/mime/packages/application-vnd-kde-itinerary.xml %files -n libKPim5Itinerary5 -%license LICENSES/* -%{_kf5_debugdir}/*.categories %{_kf5_libdir}/libKPim5Itinerary.so.* %files devel