From ef5e7a6f334ae238a6812be1c23e6e36c68bf4bb Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 20 Apr 2018 15:22:18 -0500 Subject: [PATCH] fix build, cleanup --- .gitignore | 18 ------------------ kf5-kcontacts.spec | 6 +++--- 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 89f0b10..b36b7d3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,19 +1 @@ -/kcontacts-16.08.0.tar.xz -/kcontacts-16.08.1.tar.xz -/kcontacts-16.08.2.tar.xz -/kcontacts-16.08.3.tar.xz -/kcontacts-16.12.1.tar.xz -/kcontacts-16.12.2.tar.xz -/kcontacts-16.12.3.tar.xz -/kcontacts-17.04.1.tar.xz -/kcontacts-17.04.2.tar.xz -/kcontacts-17.04.3.tar.xz -/kcontacts-17.08.1.tar.xz -/kcontacts-17.08.3.tar.xz -/kcontacts-17.11.80.tar.xz -/kcontacts-17.11.90.tar.xz -/kcontacts-17.12.0.tar.xz -/kcontacts-17.12.1.tar.xz -/kcontacts-17.12.2.tar.xz -/kcontacts-17.12.3.tar.xz /kcontacts-18.04.0.tar.xz diff --git a/kf5-kcontacts.spec b/kf5-kcontacts.spec index a0dd320..b09efeb 100644 --- a/kf5-kcontacts.spec +++ b/kf5-kcontacts.spec @@ -61,7 +61,7 @@ pushd %{_target_platform} -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} popd -make %{?_smp_mflags} -C %{_target_platform} +%make_build -C %{_target_platform} %install @@ -79,11 +79,11 @@ make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||: %endif -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files -f %{name}.lang %license COPYING* +%{_kf5_sysconfdir}/%{framework}.* %{_kf5_libdir}/libKF5Contacts.so.* %{_kf5_datadir}/kf5/kcontacts/countrytransl.map