Compare commits

..
12 Commits
4 changed files with 20 additions and 24 deletions
View File
-21
View File
@@ -1,21 +0,0 @@
# Makefile for source rpm: openwsman
# $Id: Makefile,v 1.1 2008/10/13 10:50:29 huzaifas Exp $
NAME := openwsman
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)
-1
View File
@@ -1 +0,0 @@
openwsman-2_1_0-1_fc9:HEAD:openwsman-2.1.0-1.fc9.src.rpm:1225537021
+20 -2
View File
@@ -1,10 +1,12 @@
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')}
%define ruby_libdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')
Name: openwsman
Version: 2.2.0
Release: 1%{?dist}
Release: 8%{?dist}
License: BSD
Url: http://www.openwsman.org/
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
@@ -97,7 +99,7 @@ rm -rf %{buildroot}
%dir /etc/openwsman
%config(noreplace) /etc/openwsman/openwsman.conf
%config(noreplace) /etc/openwsman/ssleay.cnf
/usr/lib/ruby/site_ruby/1.8/openwsman/
%{ruby_libdir}/openwsman
%config(noreplace) %{_sysconfdir}/pam.d/openwsman
%doc COPYING README
@@ -139,6 +141,22 @@ fi
%changelog
* Thu Oct 1 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-8
- Removed the past hard coding of ruby_libdir
* Thu Sep 24 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-7
- pywsman.py gets installed in python_sitelib - chaning back
* Thu Sep 24 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-6
- changing python_sitelib to python_sitearch
* Thu Sep 24 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-5
- making the python_sitelib and ruby_sitearch global
- test build
* Thu Sep 24 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-4
- *.rb files are hard coded to be installed in /usr/lib in 32/64-bit
* Thu Sep 24 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-3
- increased the release for re-tagging.
- one more try
* Thu Sep 24 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-2
- increased the release for re-tagging.
* Wed Sep 23 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-1
- Added the new 2.2.0 sources.
- Changed the release and version numbers.