diff --git a/.gitignore b/.gitignore index 07231af..5dc6bee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1 @@ -/kdecoration-5.9.5.tar.xz -/kdecoration-5.10.3.tar.xz -/kdecoration-5.10.4.tar.xz -/kdecoration-5.10.5.tar.xz -/kdecoration-5.11.1.tar.xz -/kdecoration-5.11.2.tar.xz -/kdecoration-5.11.3.tar.xz -/kdecoration-5.11.4.tar.xz -/kdecoration-5.11.5.tar.xz -/kdecoration-5.11.95.tar.xz -/kdecoration-5.12.0.tar.xz -/kdecoration-5.12.1.tar.xz -/kdecoration-5.12.2.tar.xz /kdecoration-5.12.3.tar.xz diff --git a/kdecoration.spec b/kdecoration.spec index aabf934..62dc2df 100644 --- a/kdecoration.spec +++ b/kdecoration.spec @@ -12,7 +12,7 @@ Name: kdecoration Summary: A plugin-based library to create window decorations Version: 5.12.3 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2 URL: https://cgit.kde.org/%{name}.git @@ -56,15 +56,15 @@ Requires: %{name}%{?_isa} = %{version}-%{release} # Cleanup includes mess, install everything into %%{_kf5_includedir}/KDecoration2 sed -i "s/set(KDECORATION2_INCLUDEDIR \"\${CMAKE_INSTALL_INCLUDEDIR}\/KDecoration2\")/set(KDECORATION2_INCLUDEDIR \"\${KF5_INCLUDE_INSTALL_DIR}\/KDecoration2\")/" CMakeLists.txt -%build +%build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. \ -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} popd -make %{?_smp_mflags} -C %{_target_platform} +%make_build -C %{_target_platform} %install @@ -81,8 +81,7 @@ make test ARGS="--output-on-failure --timeout 20" -C %{_target_platform} ||: %endif -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license COPYING.LIB @@ -99,6 +98,9 @@ make test ARGS="--output-on-failure --timeout 20" -C %{_target_platform} ||: %changelog +* Tue Mar 06 2018 Rex Dieter - 5.12.3-2 +- use %%make_build %%ldconfig_scriptlets + * Tue Mar 06 2018 Rex Dieter - 5.12.3-1 - 5.12.3