[libkdcraw] cleanup, enable/fix tests
Rex Dieter
rdieter at fedoraproject.org
Tue Aug 5 04:11:43 UTC 2014
commit 8f4acfc68868e1c6d3d58ff8ff2d7470a1ba17b7
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Mon Aug 4 23:11:27 2014 -0500
cleanup, enable/fix tests
.gitignore | 15 ---------------
libkdcraw.spec | 8 ++++----
2 files changed, 4 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 49c1420..50c0751 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,16 +1 @@
-/libkdcraw-4.11.3.tar.xz
-/libkdcraw-4.11.90.tar.xz
-/libkdcraw-4.11.95.tar.xz
-/libkdcraw-4.11.97.tar.xz
-/libkdcraw-4.12.0.tar.xz
-/libkdcraw-4.12.1.tar.xz
-/libkdcraw-4.12.2.tar.xz
-/libkdcraw-4.12.3.tar.xz
-/libkdcraw-4.12.90.tar.xz
-/libkdcraw-4.12.95.tar.xz
-/libkdcraw-4.12.97.tar.xz
-/libkdcraw-4.13.0.tar.xz
-/libkdcraw-4.13.1.tar.xz
-/libkdcraw-4.13.2.tar.xz
-/libkdcraw-4.13.3.tar.xz
/libkdcraw-4.13.97.tar.xz
diff --git a/libkdcraw.spec b/libkdcraw.spec
index a7dedda..e6346a6 100644
--- a/libkdcraw.spec
+++ b/libkdcraw.spec
@@ -1,3 +1,6 @@
+
+%global _kde4_build_tests -DKDE4_BUILD_TESTS:BOOL=ON
+
Name: libkdcraw
Summary: A C++ interface around LibRaw library
Version: 4.13.97
@@ -26,7 +29,6 @@ Requires: kdelibs4%{?_isa} >= %{_kde4_version}
# when split occurred
Conflicts: kdegraphics-libs < 7:4.6.95-10
-
%description
Libkdcraw is a C++ interface around LibRaw library used to decode RAW
picture files. More information about LibRaw can be found at
@@ -60,14 +62,13 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%check
export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
pkg-config --modversion libkdcraw
-make -C %{_target_platform}/test
+make -C %{_target_platform}/tests
%post
/sbin/ldconfig
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
-
%posttrans
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
@@ -78,7 +79,6 @@ touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
fi
-
%files
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_kde4_libdir}/libkdcraw.so.23*
More information about the scm-commits
mailing list