From ceaa00482b53197ace9011eef1a9ddc10b15ddc7 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Jun 19 2015 18:30:43 +0000 Subject: minor cleanups --- diff --git a/maliit-framework.spec b/maliit-framework.spec index f54ed81..6922a0d 100644 --- a/maliit-framework.spec +++ b/maliit-framework.spec @@ -24,11 +24,7 @@ BuildRequires: libXdamage-devel BuildRequires: libXext-devel BuildRequires: libXfixes-devel BuildRequires: qt-devel -%if 0%{?fedora} > 17 BuildRequires: systemd-devel -%else -BuildRequires: libudev-devel -%endif %description Maliit provides a flexible and cross-platform input method framework. It has a @@ -104,15 +100,15 @@ make %{?_smp_mflags} V=1 %install make install INSTALL="install -p" INSTALL_ROOT=%{buildroot} DESTDIR=%{buildroot} -find %{buildroot} -name '.moc' -exec rm -rf {} ';' -find %{buildroot} -name '.gitignore' -exec rm -rf {} ';' +find %{buildroot} -name '.moc' -delete +find %{buildroot} -name '.gitignore' -delete # e.g. maliit-plugins package stores files in there mkdir -p %{buildroot}%{_datadir}/maliit # move installed docs to include them in subpackage via %%doc magic rm -rf __tmp_doc ; mkdir __tmp_doc -mv ${RPM_BUILD_ROOT}%{_docdir}/%{name}/* __tmp_doc +mv ${buildroot}%{_docdir}/%{name}/* __tmp_doc %post -p /sbin/ldconfig