diff --git a/97-kde-baloo-filewatch-inotify.conf b/97-kde-baloo-filewatch-inotify.conf new file mode 100644 index 0000000..10929ff --- /dev/null +++ b/97-kde-baloo-filewatch-inotify.conf @@ -0,0 +1 @@ +fs.inotify.max_user_watches = 524288 diff --git a/kf5-baloo.spec b/kf5-baloo.spec index 5634f3a..ab7dfb5 100644 --- a/kf5-baloo.spec +++ b/kf5-baloo.spec @@ -2,7 +2,7 @@ Name: kf5-%{framework} Version: 5.6.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Tier 3 KDE Frameworks 5 module that provides indexing and search functionality License: LGPLv2+ URL: https://projects.kde.org/projects/kde/kdelibs/baloo @@ -15,6 +15,8 @@ URL: https://projects.kde.org/projects/kde/kdelibs/baloo %endif Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{framework}-%{version}.tar.xz +Source1: 97-kde-baloo-filewatch-inotify.conf + BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtdeclarative-devel BuildRequires: kf5-rpm-macros @@ -80,6 +82,9 @@ make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + +install -p -m644 -D %{SOURCE1} %{buildroot}%{_prefix}/lib/sysctl.d/97-kde-baloo-filewatch-inotify.conf + %find_lang balooctl --with-qt %find_lang kio_baloosearch --with-qt %find_lang baloo_file --with-qt @@ -127,6 +132,7 @@ fi %{_kf5_datadir}/icons/hicolor/*/apps/baloo.png %files file -f %{name}-file.lang +%{_prefix}/lib/sysctl.d/97-kde-baloo-filewatch-inotify.conf %{_kf5_bindir}/baloo_file %{_kf5_bindir}/baloo_file_extractor %{_kf5_bindir}/baloo_file_cleaner @@ -154,6 +160,9 @@ fi %changelog +* Sat Feb 07 2015 Rex Dieter 5.6.0-2 +- port 97-kde-baloo-filewatch-inotify.conf from Obsoletes'd baloo pkg + * Mon Jan 26 2015 Daniel Vrátil - 5.6.0-1 - Plasma 5.2.0