rpms/openwsman/EL-4 openwsman.spec,1.3,1.4 python-config,1.1,1.2

Praveen K Paladugu praveenp at fedoraproject.org
Tue Nov 3 22:17:12 UTC 2009


Author: praveenp

Update of /cvs/pkgs/rpms/openwsman/EL-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21525

Modified Files:
	openwsman.spec python-config 
Log Message:
Script changes to python-config



Index: openwsman.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openwsman/EL-4/openwsman.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- openwsman.spec	1 Oct 2009 18:28:53 -0000	1.3
+++ openwsman.spec	3 Nov 2009 22:17:12 -0000	1.4
@@ -5,7 +5,7 @@
 
 Name:          openwsman
 Version:       2.2.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        BSD
 Url:            http://www.openwsman.org/
 Source:         http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
@@ -142,6 +142,8 @@ fi
 
 
 %changelog
+* Tue Nov  3 2009 Praveen K Paladugu <praveen_paladugu at dell.com> - 2.2.0-3
+- Changed the python-config script for it to be working on el4
 * Thu Oct  1 2009 Praveen K Paladugu <praveen_paladugu at dell.com> - 2.2.0-2
 - Increasing the release number to make another tag 
 * Thu Oct  1 2009 Praveen K Paladugu <praveen_paladugu at dell.com> - 2.2.0-1


Index: python-config
===================================================================
RCS file: /cvs/pkgs/rpms/openwsman/EL-4/python-config,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- python-config	1 Oct 2009 18:27:33 -0000	1.1
+++ python-config	3 Nov 2009 22:17:12 -0000	1.2
@@ -7,10 +7,14 @@ from distutils import sysconfig
 
 valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 
               'ldflags', 'help']
+all_opts = ""
+for opt in valid_opts:
+     all_opts = all_opts +'|--'+opt
+
+
 
 def exit_with_usage(code=1):
-    print >>sys.stderr, "Usage: %s [%s]" % (sys.argv[0], 
-                                            '|'.join('--'+opt for opt in valid_opts))
+    print >>sys.stderr, "Usage: %s [%s]" % (sys.argv[0],all_opts)
     sys.exit(code)
 
 try:




More information about the fedora-extras-commits mailing list