rpms/pyexiv2/devel pyexiv2.spec,1.13,1.14
Rex Dieter
rdieter at fedoraproject.org
Fri Jan 15 15:14:20 UTC 2010
Author: rdieter
Update of /cvs/pkgs/rpms/pyexiv2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14581
Modified Files:
pyexiv2.spec
Log Message:
* Fri Jan 15 2010 Rex Dieter <rdieter at fedoraproject.org> - 0.1.3-7
- %check: use unittests
Index: pyexiv2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pyexiv2/devel/pyexiv2.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- pyexiv2.spec 15 Jan 2010 14:49:18 -0000 1.13
+++ pyexiv2.spec 15 Jan 2010 15:14:20 -0000 1.14
@@ -19,8 +19,8 @@ Patch0: pyexiv2-multilib.patch
Patch1: pyexiv2-packager.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-# from http://bazaar.launchpad.net/%7Eosomon/pyexiv2/0.1.x/diff/101
-Patch2: 101_100.diff
+# see http://bazaar.launchpad.net/%7Eosomon/pyexiv2/0.1.x/diff/101
+Patch2: 101_100.diff
BuildRequires: python-devel exiv2-devel boost-devel scons
@@ -35,6 +35,7 @@ embedded in image files (JPEG, TIFF, ...
%patch0 -p1 -b .multilib
%patch1 -p1 -b .packager
%if 0%{?fedora} > 12
+# if building against exiv2-0.19
%patch2 -p0 -b .exiv2_019
%endif
@@ -56,8 +57,9 @@ scons DESTDIR=$RPM_BUILD_ROOT install
rm -rf $RPM_BUILD_ROOT
%check
-# There is unittest/ directory available, but not sure, how
-# how to make it work.
+pushd unittest
+./TestsRunner.py
+popd
%files
%defattr(-,root,root,-)
@@ -66,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Jan 15 2010 Rex Dieter <rdieter at fedoraproject.org> - 0.1.3-7
+- %%check: use unittests
+
* Fri Jan 15 2010 Rex Dieter <rdieter at fedoraproject.org> - 0.1.3-6
- pyexiv2 FTBFS against exiv2-0.19 (#552281)
More information about the scm-commits
mailing list