rpms/libsmbios/devel .cvsignore, 1.4, 1.5 libsmbios.spec, 1.3, 1.4 sources, 1.4, 1.5

Michael E Brown (mebrown) fedora-extras-commits at redhat.com
Sat Apr 21 14:58:17 UTC 2007


Author: mebrown

Update of /cvs/extras/rpms/libsmbios/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25234

Modified Files:
	.cvsignore libsmbios.spec sources 
Log Message:
* Tue Apr 3 2007 Michael E Brown <michael_e_brown at dell.com> - 0.13.6
- critical bugfix to dellBiosUpdate utility to fix packet mode
- autoconf/automake support for automatically building docs
- more readable 'make' lines by splitting out env vars
- remove run_cppunit option... always run unit tests.
- update autoconf/automake utilities to latest version
- fix LDFLAGS to not overwrite user entered LDFLAGS
- add automatic doxygen build of docs
- fix urls of public repos
- remove yum repo page in favor of official page from docs
- split dmi table entry point from smbios table entry point
- support legacy _DMI_ tables
- fix support for EFI-based imacs without proper _SM_ anchor



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/libsmbios/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	29 Mar 2007 05:28:03 -0000	1.4
+++ .cvsignore	21 Apr 2007 14:57:43 -0000	1.5
@@ -1 +1 @@
-libsmbios-0.13.5.tar.gz
+libsmbios-0.13.6.tar.gz


Index: libsmbios.spec
===================================================================
RCS file: /cvs/extras/rpms/libsmbios/devel/libsmbios.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- libsmbios.spec	29 Mar 2007 05:28:03 -0000	1.3
+++ libsmbios.spec	21 Apr 2007 14:57:43 -0000	1.4
@@ -1,10 +1,3 @@
-# automatically determine if we should build docs based on presence of doxygen
-%define build_docs %( ( which doxygen > /dev/null 2>&1 && echo 1) || echo 0 )
-
-# automatically determine if we should run cppunit based on presence or
-# absense of cppunit include files.
-%define run_cppunit %( ([ -e /usr/include/cppunit ] && echo 1) || echo 0)
-
 ###################################################################
 #
 # WARNING
@@ -13,7 +6,7 @@
 # START = Do not edit manually
 %define major 0
 %define minor 13
-%define sub 5
+%define sub 6
 %define extralevel %{nil}
 %define release_name libsmbios
 %define release_version %{major}.%{minor}.%{sub}%{extralevel}
@@ -22,13 +15,6 @@
 #
 ###################################################################
 
-# allow --with[out] <feature> at rpm command line build, to override the above
-# e.g. --with docs    ...or...   --without docs 
-%{?_without_docs: %{expand: %%define build_docs 0}}
-%{?_with_docs: %{expand: %%define build_docs 1}}
-%{?_without_cppunit: %{expand: %%define run_cppunit 0}}
-%{?_with_cppunit: %{expand: %%define run_cppunit 1}}
-
 Name: %{release_name}
 Version: %{release_version}
 Release: 1%{?dist}
@@ -113,16 +99,19 @@
 %setup -q 
 find . -type d -exec chmod -f 755 {} \;
 find doc include libraries bin-unsupported build bin-supported cppunit -type f -exec chmod -f 644 {} \;
+chmod 755 cppunit/*.sh
 
 %build
 %configure
-make %{?_smp_mflags} EXTRA_CXXFLAGS="%{optflags}" EXTRA_CFLAGS="%{optflags}" -e RELEASE_MAJOR=%{major} RELEASE_MINOR=%{minor} RELEASE_SUBLEVEL=%{sub} RELEASE_EXTRALEVEL=%{extralevel}
-%if %{build_docs}
-    make -e RELEASE_MAJOR=%{major} RELEASE_MINOR=%{minor} RELEASE_SUBLEVEL=%{sub} RELEASE_EXTRALEVEL=%{extralevel} doxygen
-%endif
-%if %{run_cppunit}
-    make -e EXTRA_CXXFLAGS="%{optflags}" EXTRA_CFLAGS="%{optflags}" RELEASE_MAJOR=%{major} RELEASE_MINOR=%{minor} RELEASE_SUBLEVEL=%{sub} RELEASE_EXTRALEVEL=%{extralevel} unit_test
-%endif
+export EXTRA_CXXFLAGS="%{optflags}" 
+export EXTRA_CFLAGS="%{optflags}" 
+export RELEASE_MAJOR=%{major} 
+export RELEASE_MINOR=%{minor} 
+export RELEASE_SUBLEVEL=%{sub} 
+export RELEASE_EXTRALEVEL=%{extralevel}
+mkdir -p doc/full/html 
+make -e %{?_smp_mflags} 
+[ ! -d /usr/include/cppunit ] || make -e check
 
 %install
 [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
@@ -152,11 +141,7 @@
 %{_libdir}/libsmbios.so
 %{_libdir}/libsmbiosxml.a
 %{_libdir}/libsmbiosxml.so
-
-%if %{build_docs}
-    %doc doc/full/html
-%endif
-
+%doc doc/full/html
 
 %files bin 
 %defattr(-,root,root,-)
@@ -191,6 +176,20 @@
 #%{_bindir}/sysid
 
 %changelog
+* Tue Apr 3 2007 Michael E Brown <michael_e_brown at dell.com> - 0.13.6
+- critical bugfix to dellBiosUpdate utility to fix packet mode
+- autoconf/automake support for automatically building docs
+- more readable 'make' lines by splitting out env vars
+- remove run_cppunit option... always run unit tests.
+- update autoconf/automake utilities to latest version
+- fix LDFLAGS to not overwrite user entered LDFLAGS
+- add automatic doxygen build of docs
+- fix urls of public repos
+- remove yum repo page in favor of official page from docs
+- split dmi table entry point from smbios table entry point
+- support legacy _DMI_ tables
+- fix support for EFI-based imacs without proper _SM_ anchor
+
 * Tue Mar 20 2007 Michael E Brown <michael_e_brown at dell.com> - 0.13.5
 - rpmlint cleanups
 - Add dellLEDCtl binary


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/libsmbios/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	29 Mar 2007 05:28:03 -0000	1.4
+++ sources	21 Apr 2007 14:57:43 -0000	1.5
@@ -1 +1 @@
-5f2fac981c4cb491faa1251fee30c9e0  libsmbios-0.13.5.tar.gz
+cab4267585bb5c8707510c27026d5a3b  libsmbios-0.13.6.tar.gz




More information about the scm-commits mailing list