rpms/poker-eval/devel poker-eval.spec,1.1,1.2

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Sat Apr 22 19:52:45 UTC 2006


Author: xulchris

Update of /cvs/extras/rpms/poker-eval/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15101

Modified Files:
	poker-eval.spec 
Log Message:
Move .c files in samples/ dir for devel %doc


Index: poker-eval.spec
===================================================================
RCS file: /cvs/extras/rpms/poker-eval/devel/poker-eval.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- poker-eval.spec	22 Apr 2006 14:49:20 -0000	1.1
+++ poker-eval.spec	22 Apr 2006 19:52:45 -0000	1.2
@@ -1,6 +1,6 @@
 Name:           poker-eval
 Version:	130.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Poker hand evaluator library
 Group:          Development/Libraries
 License:        GPL
@@ -23,8 +23,13 @@
 
 %prep
 %setup -q
+
+# rpmlint fix
 chmod -x examples/five_card_hands.c
 
+# use samples/ directory for devel package %doc section
+mkdir samples/ && cp examples/*.c samples/
+
 %build
 %configure --disable-static
 make %{?_smp_mflags}
@@ -49,13 +54,16 @@
 
 %files devel
 %defattr(-,root,root,-)
-%doc examples/*.c
+%doc samples
 %{_includedir}/%{name}
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/%{name}.pc
 %exclude %{_libdir}/*.la
 
 %changelog
+* Sat Apr 22 2006 Christopher Stone <chris.stone at gmail.com> 130.0-3
+- Copy .c files in samples directory and use this for devel's %doc
+
 * Tue Apr 18 2006 Christopher Stone <chris.stone at gmail.com> 130.0-2
 - Added %check section
 - Removed make build_tables




More information about the fedora-extras-commits mailing list