diff --git a/kinfocenter5-rpmlintrc b/kinfocenter5-rpmlintrc new file mode 100644 index 0000000..cc4ae51 --- /dev/null +++ b/kinfocenter5-rpmlintrc @@ -0,0 +1,2 @@ +# we don't use find_lang macro as it doesn't searches in subdirectories +addFilter("file-not-in-%lang .*") \ No newline at end of file diff --git a/kinfocenter5.changes b/kinfocenter5.changes index be1f9bd..9a61125 100644 --- a/kinfocenter5.changes +++ b/kinfocenter5.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 21 09:14:58 UTC 2016 - fabian@ritter-vogt.de + +- Use %{_plasma5_version} again, define it if needed + ------------------------------------------------------------------- Thu Sep 15 15:53:55 UTC 2016 - fabian@ritter-vogt.de diff --git a/kinfocenter5.spec b/kinfocenter5.spec index 7b92ba0..3e3905b 100644 --- a/kinfocenter5.spec +++ b/kinfocenter5.spec @@ -20,11 +20,13 @@ Name: kinfocenter5 Version: 5.7.95 Release: 0 +%{!?_plasma5_version: %global _plasma5_version %{version}} Summary: Utility that provides information about a computer system License: GPL-2.0+ Group: System/GUI/KDE Url: http://www.kde.org/ Source: http://download.kde.org/unstable/plasma/%{version}/kinfocenter-%{version}.tar.xz +Source99: %{name}-rpmlintrc # PATCH-FIX-OPENSUSE plasma-session-name.patch Patch0: plasma-session-name.patch BuildRequires: extra-cmake-modules >= 1.2.0 @@ -49,7 +51,7 @@ BuildRequires: cmake(KF5Package) >= 5.9.0 BuildRequires: cmake(KF5Service) >= 5.9.0 BuildRequires: cmake(KF5Solid) >= 5.9.0 BuildRequires: cmake(KF5Solid) >= 5.9.0 -BuildRequires: cmake(KF5Wayland) >= %{version} +BuildRequires: cmake(KF5Wayland) >= %{_plasma5_version} BuildRequires: cmake(KF5WidgetsAddons) >= 5.9.0 BuildRequires: cmake(KF5XmlGui) >= 5.9.0 BuildRequires: cmake(Qt5Core) >= 5.4.0