rpms/libnih/F-13 libnih.spec,1.1,1.2

Petr Lautrbach plautrba at fedoraproject.org
Tue Mar 2 17:37:00 UTC 2010


Author: plautrba

Update of /cvs/pkgs/rpms/libnih/F-13
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27504

Modified Files:
	libnih.spec 
Log Message:
run "make check" with "--with check" option




Index: libnih.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libnih/F-13/libnih.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- libnih.spec	19 Feb 2010 19:38:01 -0000	1.1
+++ libnih.spec	2 Mar 2010 17:37:00 -0000	1.2
@@ -1,6 +1,6 @@
 Name:           libnih
 Version:        1.0.1
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Lightweight application development library
 
 Group:          System Environment/Libraries
@@ -17,7 +17,7 @@ BuildRequires:  dbus-devel >= 1.2.16
 BuildRequires:  expat >= 2.0.0
 BuildRequires:  expat-devel >= 2.0.0
 
-# Damn it.
+# Filter GLIBC_PRIVATE Requires:
 %define _filter_GLIBC_PRIVATE 1
 
 
@@ -61,6 +61,14 @@ find $RPM_BUILD_ROOT -name '*.la' -exec 
 mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
 
 
+%check
+#some tests fail in koji while pass in mock and local build
+#to run make check use "--with check"
+%if %{?_with_check:1}%{!?_with_check:0}
+  make check
+%endif
+
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -91,6 +99,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Feb 26 2010 Petr Lautrbach <plautrba at redhat.com> 1.0.1-6
+- Add "make check" with "--with check" option
+
 * Fri Feb 19 2010 Casey Dahlin <cdahlin at redhat.com> - 1.0.1-5
 - Remove libtool patch as it is no longer necessary
 



More information about the scm-commits mailing list