rpms/sblim-sfcb/EL-4 sblim-sfcb.spec,1.1,1.2

Praveen K Paladugu praveenp at fedoraproject.org
Fri Sep 25 21:14:07 UTC 2009


Author: praveenp

Update of /cvs/pkgs/rpms/sblim-sfcb/EL-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24641

Modified Files:
	sblim-sfcb.spec 
Log Message:
couple of changes to build on rhel



Index: sblim-sfcb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sblim-sfcb/EL-4/sblim-sfcb.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sblim-sfcb.spec	24 Sep 2009 18:02:49 -0000	1.1
+++ sblim-sfcb.spec	25 Sep 2009 21:14:06 -0000	1.2
@@ -8,7 +8,7 @@ Name: sblim-sfcb
 Summary: Small Footprint CIM Broker
 URL: http://www.sblim.org
 Version: 1.3.4
-Release: 8%{dist}
+Release: 11%{dist}
 Group: Applications/System
 License: EPL
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
@@ -16,7 +16,11 @@ Source0: http://downloads.sourceforge.ne
 patch0:	%{name}-disable_auto_service_start.patch
 Provides: cim-server
 Requires: cim-schema
+%if 0%{?rhel}
+BuildRequires: curl-devel
+%else
 BuildRequires: libcurl-devel
+%endif
 BuildRequires: zlib-devel
 BuildRequires: openssl-devel
 BuildRequires: pam-devel
@@ -51,9 +55,9 @@ make 
 rm -rf $RPM_BUILD_ROOT 
 
 make DESTDIR=$RPM_BUILD_ROOT install
-mkdir -p $RPM_BUILD_ROOT/%{_initddir}
-mv $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/sfcb $RPM_BUILD_ROOT/%{_initddir}/sblim-sfcb
-sed -i -e 's/\/var\/lock\/subsys\/sfcb/\/var\/lock\/subsys\/sblim-sfcb/g' $RPM_BUILD_ROOT/%{_initddir}/sblim-sfcb
+mkdir -p $RPM_BUILD_ROOT/%{_initrddir}
+mv $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/sfcb $RPM_BUILD_ROOT/%{_initrddir}/sblim-sfcb
+sed -i -e 's/\/var\/lock\/subsys\/sfcb/\/var\/lock\/subsys\/sblim-sfcb/g' $RPM_BUILD_ROOT/%{_initrddir}/sblim-sfcb
 # remove unused static libraries and so files
 rm -f $RPM_BUILD_ROOT/%{_libdir}/sfcb/*.la
 rm -f $RPM_BUILD_ROOT/%{_libdir}/sfcb/*.so
@@ -67,7 +71,7 @@ echo "%config(noreplace) %{_sysconfdir}/
 echo "%config(noreplace) %{_sysconfdir}/pam.d/*" >> _pkg_list
 echo "%doc %{_datadir}/doc/*" >> _pkg_list
 echo "%{_datadir}/man/man1/*" >> _pkg_list
-echo "%{_initddir}/sblim-sfcb" >> _pkg_list
+echo "%{_initrddir}/sblim-sfcb" >> _pkg_list
 echo "%{_localstatedir}/lib/sfcb" >> _pkg_list
 echo "%{_bindir}/*" >> _pkg_list
 echo "%{_sbindir}/*" >> _pkg_list
@@ -107,6 +111,12 @@ fi
 #%doc COPYING README
 
 %changelog
+* Fri Sep 25 2009 <praveen_paladugu at dell.com>- 1.3.4-11
+- Changing the initddir to initrddir, since not defined in rhel
+* Fri Sep 25 2009 <praveen_paladugu at dell.com>- 1.3.4-10
+- using curl-devel instead of libcurl-devel on rhel
+* Thu Sep 24 2009 <praveen_paladugu at dell.com>- 1.3.4-9
+- Increased the release number for tagging
 * Tue Sep 22 2009 <srinivas_ramanatha at dell.com> - 1.3.4-8
 - Removed the devel package and moved the init script to right directory
 * Wed Sep 16 2009 <srinivas_ramanatha at dell.com> - 1.3.4-7




More information about the fedora-extras-commits mailing list