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