- Spec file cleanups

This commit is contained in:
John (J5) Palmieri 2006-07-18 17:24:05 +00:00
parent 6b4d0d43cc
commit c39b4d8bba

View File

@ -8,13 +8,13 @@
Summary: GLib bindings for D-Bus
Name: dbus-glib
Version: 0.70
Release: 1
Release: 2
URL: http://www.freedesktop.org/software/dbus/
Source0: %{name}-%{version}.tar.gz
Source0: http://dbus.freedesktop.org/releases/%{name}-%{version}.tar.gz
Patch0: dbus-glib-0.70-fix-includes.patch
License: AFL/GPL
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-root
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: chkconfig >= 1.3.26
BuildRequires: libtool
BuildRequires: dbus-devel >= %{dbus_version}
@ -64,12 +64,9 @@ autoreconf -i -f
%build
%configure --disable-tests --enable-verbose-mode=yes --enable-asserts=yes
make
#build with checks for right now
exit 0
%configure --disable-tests --disable-verbose-mode --disable-asserts
#build with checks for right now but disable checks for final release
#%configure --disable-tests --disable-verbose-mode --disable-asserts
make
%install
@ -85,11 +82,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -rf %{buildroot}
%post
/sbin/ldconfig
%post -n /sbin/ldconfig
%postun
/sbin/ldconfig
%postun -n /sbin/ldconfig
%files
%defattr(-,root,root)
@ -115,5 +110,8 @@ rm -rf %{buildroot}
%endif
%changelog
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-2
- Spec file cleanups
* Mon Jul 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-1
- Initial dbus-glib package