rpms/openjpeg/devel openjpeg.spec,1.14,1.15

Rex Dieter rdieter at fedoraproject.org
Wed Jul 7 14:07:43 UTC 2010


Author: rdieter

Update of /cvs/pkgs/rpms/openjpeg/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv5454

Modified Files:
	openjpeg.spec 
Log Message:
make %%check toggleable, suggest enabling only for rawhide/testing



Index: openjpeg.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openjpeg/devel/openjpeg.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- openjpeg.spec	7 Jul 2010 14:04:07 -0000	1.14
+++ openjpeg.spec	7 Jul 2010 14:07:43 -0000	1.15
@@ -1,6 +1,11 @@
+
 # reset patch fuzz, rebasing patches will require delicate surgery -- Rex
 %global _default_patch_fuzz 2
 
+## enable conformance tests, bloats srpm
+# enable for rawhide only, should disable in production releases
+%define check 1
+
 Name:    openjpeg
 Version: 1.3
 Release: 9%{?dist}
@@ -12,7 +17,9 @@ URL:       http://www.openjpeg.org/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Source0: http://www.openjpeg.org/openjpeg_v1_3.tar.gz
+%if 0%{?check}
 Source1: http://www.crc.ricoh.com/~gormish/jpeg2000conformance/j2kp4files_v1_5.zip
+%endif
 
 BuildRequires: cmake
 BuildRequires: libtiff-devel
@@ -117,7 +124,9 @@ ln -s openjpeg/openjpeg.h %{buildroot}%{
 ## in mock, rawhide/f14, 20100707
 #The following tests FAILED:
 #	  9 - j2i-p0_07.j2k (OTHER_FAULT)
+%if 0%{?check}
 make test -C %{_target_platform} ||:
+%endif
 
 
 %clean



More information about the scm-commits mailing list