rpms/openhpi/devel openhpi.spec,1.63,1.64

Dan Horak (sharkcz) fedora-extras-commits at redhat.com
Fri Apr 18 07:40:24 UTC 2008


Author: sharkcz

Update of /cvs/pkgs/rpms/openhpi/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27875

Modified Files:
	openhpi.spec 
Log Message:
* Thu Apr 18 2008 Dan Horak <dan[at]danny.cz> - 2.10.2-2
- enable the sysfs plugin
- add missing R: for -devel subpackage



Index: openhpi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openhpi/devel/openhpi.spec,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- openhpi.spec	11 Apr 2008 13:30:58 -0000	1.63
+++ openhpi.spec	18 Apr 2008 07:39:46 -0000	1.64
@@ -1,7 +1,7 @@
 Summary: openhpi Hardware Platform Interface (HPI) library and tools
 Name: openhpi
 Version: 2.10.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD
 Group: System Environment/Base
 URL: http://www.openhpi.org
@@ -17,11 +17,10 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: libsysfs-devel, net-snmp-devel, OpenIPMI-devel, glib2-devel
 BuildRequires: libtool-ltdl-devel, openssl-devel, ncurses-devel
-BuildRequires: libxml2-devel, pkgconfig, docbook-utils
+BuildRequires: libxml2-devel, docbook-utils
 Requires(post): /sbin/chkconfig
 Requires(preun): /sbin/chkconfig
 Requires(preun): /sbin/service
-ExcludeArch: ia64
 
 %description
 OpenHPI is an open source project created with the intent of providing an
@@ -49,6 +48,7 @@
 Group: Development/Libraries
 Summary: The development environment for the openhpi project
 Requires: %{name}-libs = %{version}-%{release}
+Requires: glib2-devel, pkgconfig
 
 %description devel
 The development libraries and header files for the openhpi project.
@@ -66,7 +66,7 @@
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
-%configure --disable-static --disable-dummy --disable-sysfs
+%configure --disable-static --disable-dummy
 
 # Don't use rpath!
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@@ -85,13 +85,13 @@
 
 %install
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
+mkdir -p $RPM_BUILD_ROOT%{_initrddir}
 mkdir -p -m1777 $RPM_BUILD_ROOT%{_var}/lib/%{name}
 make install DESTDIR=$RPM_BUILD_ROOT
 install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
 
 # RH-ify the initscript location
-mv $RPM_BUILD_ROOT%{_sysconfdir}/init.d/openhpid $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
+mv $RPM_BUILD_ROOT%{_sysconfdir}/init.d/openhpid $RPM_BUILD_ROOT%{_initrddir}
 
 rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
 rm -rf $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la
@@ -132,7 +132,7 @@
 %doc COPYING README README.daemon docs/hld/openhpi-manual openhpi.conf.example
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
-%config %{_sysconfdir}/rc.d/init.d/openhpid
+%config %{_initrddir}/openhpid
 %attr(1777,root,root) %{_var}/lib/%{name}
 %{_bindir}/*
 %{_sbindir}/*
@@ -149,10 +149,14 @@
 %doc COPYING
 %{_libdir}/*.so
 %{_includedir}/%{name}
-%{_libdir}/pkgconfig/*
+%{_libdir}/pkgconfig/*.pc
 
 
 %changelog
+* Thu Apr 18 2008 Dan Horak <dan[at]danny.cz> - 2.10.2-2
+- enable the sysfs plugin
+- add missing R: for -devel subpackage
+
 * Thu Mar 13 2008 Dan Horak <dan[at]danny.cz> - 2.10.2-1
 - update to 2.10.2
 - spec file and patch cleanup




More information about the fedora-extras-commits mailing list