rpms/poker-eval/FC-5 poker-eval.spec,1.8,1.9

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Sat Jun 10 04:29:20 UTC 2006


Author: xulchris

Update of /cvs/extras/rpms/poker-eval/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29974/FC-5

Modified Files:
	poker-eval.spec 
Log Message:
Add pkgconfig to devel. Use more macros


Index: poker-eval.spec
===================================================================
RCS file: /cvs/extras/rpms/poker-eval/FC-5/poker-eval.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- poker-eval.spec	30 May 2006 21:25:11 -0000	1.8
+++ poker-eval.spec	10 Jun 2006 04:29:20 -0000	1.9
@@ -1,6 +1,6 @@
 Name:           poker-eval
 Version:	131.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Poker hand evaluator library
 Group:          Development/Libraries
 License:        GPL
@@ -16,6 +16,7 @@
 Summary:        Poker hand evaluator library development files
 Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}
+Requires:       pkgconfig
 
 %description devel
 This package contains headers and libraries required to build applications that
@@ -25,22 +26,22 @@
 %setup -q
 
 # use examples/ directory for devel package %doc section
-mkdir -p tmp/examples && cp examples/*.c tmp/examples
-rm -f tmp/examples/getopt_w32.c
+%{__mkdir_p} tmp/examples && %{__cp} examples/*.c tmp/examples
+%{__rm} -f tmp/examples/getopt_w32.c
 
 %build
 %configure --disable-static
-make %{?_smp_mflags}
+%{__make} %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-make install DESTDIR=%{buildroot}
+%{__rm} -rf %{buildroot}
+%makeinstall
 
 %check
-make %{?_smp_mflags} check
+%{__make} %{?_smp_mflags} check
 
 %clean
-rm -rf %{buildroot}
+%{__rm} -rf %{buildroot}
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
@@ -59,6 +60,11 @@
 %exclude %{_libdir}/*.la
 
 %changelog
+* Fri Jun 09 2006 Christopher Stone <chris.stone at gmail.com> 131.0-2
+- Add pkgconfig to devel Requires
+- Use macros for system commands
+- Use %%makeinstall macro
+
 * Sat May 13 2006 Christopher Stone <chris.stone at gmail.com> 131.0-1
 - upstream sync
 - Remove rpmlint fix since it's no longer needed
@@ -79,7 +85,7 @@
 - Removed make build_tables
 - Updated Source0 and URL
 
-* Thu Mar 30 2006 Loic Dachary <loic at gnu.org> - 130.0-1
+* Thu Mar 30 2006 Loic Dachary <loic at gnu.org> 130.0-1
 - upstream sync
 
 * Sat Mar 18 2006 Christopher Stone <chris.stone at gmail.com> 129.0-1




More information about the scm-commits mailing list