rpms/pypoker-eval/FC-4 pypoker-eval.spec,1.1,1.2

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Wed May 31 19:18:55 UTC 2006


Author: xulchris

Update of /cvs/extras/rpms/pypoker-eval/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17226/FC-4

Modified Files:
	pypoker-eval.spec 
Log Message:
Add new required BR and add some macros


Index: pypoker-eval.spec
===================================================================
RCS file: /cvs/extras/rpms/pypoker-eval/FC-4/pypoker-eval.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pypoker-eval.spec	12 May 2006 15:42:46 -0000	1.1
+++ pypoker-eval.spec	31 May 2006 19:18:55 -0000	1.2
@@ -2,13 +2,13 @@
 
 Name:           pypoker-eval
 Version:	131.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Python interface to poker-eval
 Group:          Development/Libraries
 License:        GPL
 URL:            http://pokersource.org/pypoker-eval
 Source0:        http://download.gna.org/pokersource/sources/%{name}-%{version}.tar.gz
-BuildRequires:  python-devel
+BuildRequires:  python-devel pkgconfig
 BuildRequires:  poker-eval-devel >= 124.0
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -29,21 +29,21 @@
 %setup -q
 
 # make examples directory for devel %doc
-mkdir -p tmp/examples && cp test.py tmp/examples
+%{__mkdir} -p tmp/examples && %{__cp} test.py tmp/examples
 
 %build
 %configure --disable-static
-make %{?_smp_mflags}
+%{__make} %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-make install DESTDIR=%{buildroot}
+%{__rm} -rf %{buildroot}
+%makeinstall
 
 %check
 %{__python} test.py
  
 %clean
-rm -rf %{buildroot}
+%{__rm} -rf %{buildroot}
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
@@ -64,6 +64,10 @@
 %exclude %{python_sitearch}/*.la
 
 %changelog
+* Wed May 31 2006 Christopher Stone <chris.stone at gmail.com> 131.0-4
+- Add missing Build Requires
+- Use macros for system commands
+
 * Fri May 12 2006 Christopher Stone <chris.stone at gmail.com> 131.0-3
 - Place unversioned .so link in -devel package
 




More information about the fedora-extras-commits mailing list