The package rpms/kdecoration.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/kdecoration.git/commit/?id=c38130....
Change:
+%ifnarch %{arm}
Thanks.
Full change:
============
commit c3813010f2fab9044ce1e2c0fc458de0ee1dcf06
Author: Rex Dieter <rdieter(a)math.unl.edu>
Date: Sun Jul 2 14:23:12 2017 -0500
skip tests an slow archs (%arm)
diff --git a/kdecoration.spec b/kdecoration.spec
index bc55359..28b709d 100644
--- a/kdecoration.spec
+++ b/kdecoration.spec
@@ -3,13 +3,16 @@
#global bootstrap 1
%if !0%{?bootstrap}
+# avoid slow arm archs for now
+%ifnarch %{arm}
%global tests 1
%endif
+%endif
Name: kdecoration
Summary: A plugin-based library to create window decorations
Version: 5.10.3
-Release: 2%{?dist}
+Release: 3%{?dist}
License: LGPLv2
URL:
https://cgit.kde.org/%{name}.git
@@ -93,6 +96,9 @@ make test ARGS="--output-on-failure --timeout 20" -C
%{_target_platform} ||:
%changelog
+* Sun Jul 02 2017 Rex Dieter <rdieter(a)fedoraproject.org> - 5.10.3-3
+- skip tests an slow archs (%%arm)
+
* Sun Jul 02 2017 Rex Dieter <rdieter(a)fedoraproject.org> - 5.10.3-2
- add %%check, support %%bootstrap
commit 426d7ff1ed7297fbe3e11cc72775a1121c161a7d
Author: Rex Dieter <rdieter(a)math.unl.edu>
Date: Sun Jul 2 13:46:08 2017 -0500
add %check, support %bootstrap
diff --git a/kdecoration.spec b/kdecoration.spec
index 5f95ff8..bc55359 100644
--- a/kdecoration.spec
+++ b/kdecoration.spec
@@ -1,7 +1,15 @@
+
+# uncomment to enable bootstrap mode
+#global bootstrap 1
+
+%if !0%{?bootstrap}
+%global tests 1
+%endif
+
Name: kdecoration
Summary: A plugin-based library to create window decorations
Version: 5.10.3
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPLv2
URL:
https://cgit.kde.org/%{name}.git
@@ -18,6 +26,11 @@ BuildRequires: extra-cmake-modules
BuildRequires: kf5-rpm-macros
BuildRequires: qt5-qtbase-devel
+%if 0%{?tests}
+BuildRequires: dbus-x11
+BuildRequires: xorg-x11-server-Xvfb
+%endif
+
Requires: kf5-filesystem
%description
@@ -33,15 +46,16 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%prep
%autosetup -p1
-
-%build
## still needed? -- rex
# 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
+
mkdir %{_target_platform}
pushd %{_target_platform}
-%{cmake_kf5} ..
+%{cmake_kf5} .. \
+ -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
popd
make %{?_smp_mflags} -C %{_target_platform}
@@ -53,6 +67,13 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
# create/own plugin dir
mkdir -p %{buildroot}%{_kf5_qtplugindir}/org.kde.kdecoration2/
+%check
+%if 0%{?tests}
+export CTEST_OUTPUT_ON_FAILURE=1
+xvfb-run -a \
+make test ARGS="--output-on-failure --timeout 20" -C %{_target_platform} ||:
+%endif
+
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -72,6 +93,9 @@ mkdir -p %{buildroot}%{_kf5_qtplugindir}/org.kde.kdecoration2/
%changelog
+* Sun Jul 02 2017 Rex Dieter <rdieter(a)fedoraproject.org> - 5.10.3-2
+- add %%check, support %%bootstrap
+
* Tue Jun 27 2017 Rex Dieter <rdieter(a)fedoraproject.org> - 5.10.3-1
- 5.10.3
commit 4f4c21378102c7a477447502ba4284e529e3db8d
Author: Rex Dieter <rdieter(a)math.unl.edu>
Date: Sun Jul 2 13:40:30 2017 -0500
old sources
diff --git a/.gitignore b/.gitignore
index d039cdb..c567c62 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,27 +1,2 @@
-/kdecoration-5.6.1.tar.xz
-/kdecoration-5.6.2.tar.xz
-/kdecoration-5.6.3.tar.xz
-/kdecoration-5.6.4.tar.xz
-/kdecoration-5.6.5.tar.xz
-/kdecoration-5.6.95.tar.xz
-/kdecoration-5.7.0.tar.xz
-/kdecoration-5.7.1.tar.xz
-/kdecoration-5.7.2.tar.xz
-/kdecoration-5.7.3.tar.xz
-/kdecoration-5.7.4.tar.xz
-/kdecoration-5.7.5.tar.xz
-/kdecoration-5.7.95.tar.xz
-/kdecoration-5.8.0.tar.xz
-/kdecoration-5.8.1.tar.xz
-/kdecoration-5.8.2.tar.xz
-/kdecoration-5.8.3.tar.xz
-/kdecoration-5.8.4.tar.xz
-/kdecoration-5.8.5.tar.xz
-/kdecoration-5.8.6.tar.xz
-/kdecoration-5.9.3.tar.xz
-/kdecoration-5.9.4.tar.xz
/kdecoration-5.9.5.tar.xz
-/kdecoration-5.10.0.tar.xz
-/kdecoration-5.10.1.tar.xz
-/kdecoration-5.10.2.tar.xz
/kdecoration-5.10.3.tar.xz
commit 24bbc401b96d67d9d42c9c476804fcb03abbaa17
Author: Rex Dieter <rdieter(a)math.unl.edu>
Date: Tue Jun 27 09:04:25 2017 -0500
5.10.3
diff --git a/.gitignore b/.gitignore
index b31fc12..d039cdb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,3 +24,4 @@
/kdecoration-5.10.0.tar.xz
/kdecoration-5.10.1.tar.xz
/kdecoration-5.10.2.tar.xz
+/kdecoration-5.10.3.tar.xz
diff --git a/kdecoration.spec b/kdecoration.spec
index f5b65bc..5f95ff8 100644
--- a/kdecoration.spec
+++ b/kdecoration.spec
@@ -1,6 +1,6 @@
Name: kdecoration
Summary: A plugin-based library to create window decorations
-Version: 5.10.2
+Version: 5.10.3
Release: 1%{?dist}
License: LGPLv2
@@ -72,6 +72,9 @@ mkdir -p %{buildroot}%{_kf5_qtplugindir}/org.kde.kdecoration2/
%changelog
+* Tue Jun 27 2017 Rex Dieter <rdieter(a)fedoraproject.org> - 5.10.3-1
+- 5.10.3
+
* Thu Jun 15 2017 Rex Dieter <rdieter(a)fedoraproject.org> - 5.10.2-1
- 5.10.2
diff --git a/sources b/sources
index 589ac0e..f96fbe4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (kdecoration-5.10.2.tar.xz) =
17f062425f2214bce65aa0bb765ac23b2aab7cabb03c454a3d423da3fa949398a77d7bb3182efad34ba94c74520327c6e3920f3b2871a98f4c5263e227bd21e6
+SHA512 (kdecoration-5.10.3.tar.xz) =
d1ec45cd4f05f4ee4032d5293adac857fb4744552c01b240efec05c4ca40d2d6a698da55b03a73a3e7bb6711c0e92c09855683d05ad0e1eac64b847281a4b645