From 74005633c53fb59cbd96ee847f3b58ce112e7baa Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 22 Jan 2007 16:06:28 +0000 Subject: [PATCH] Directory ownership fix --- GConf2.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/GConf2.spec b/GConf2.spec index 8d2b0eb..0a3bc2b 100644 --- a/GConf2.spec +++ b/GConf2.spec @@ -5,15 +5,12 @@ Summary: A process-transparent configuration system Name: GConf2 Version: 2.16.0 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPL Group: System Environment/Base Source: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/GConf/GConf-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/GConf2-%{version}-root +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) URL: http://www.gnome.org -Prereq: /sbin/install-info -Requires: ORBit2 >= %{orbit2_version} -Requires: glib2 >= %{glib2_version} BuildRequires: libxml2-devel >= %{libxml2_version} BuildRequires: ORBit2-devel >= %{orbit2_version} @@ -40,7 +37,7 @@ support workgroup administration. %package devel Summary: Headers and libraries for GConf development Group: Development/Libraries -Requires: %{name} = %{version} +Requires: %{name} = %{version}-%{release} Requires: libxml2-devel >= %{libxml2_version} Requires: ORBit2-devel >= %{orbit2_version} Requires: glib2-devel >= %{glib2_version} @@ -71,6 +68,8 @@ make install DESTDIR=$RPM_BUILD_ROOT chmod 755 $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/gconf.xml.defaults chmod 755 $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/gconf.xml.mandatory +mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas + rm -f $RPM_BUILD_ROOT/%{_libdir}/GConf/2/libgconfbackend-xml.a rm -f $RPM_BUILD_ROOT/%{_libdir}/GConf/2/libgconfbackend-oldxml.a rm -f $RPM_BUILD_ROOT/%{_libdir}/GConf/2/libgconfbackend-evoldap.a @@ -95,6 +94,7 @@ rm -rf $RPM_BUILD_ROOT %dir %{_sysconfdir}/gconf/2 %dir %{_sysconfdir}/gconf/gconf.xml.defaults %dir %{_sysconfdir}/gconf/gconf.xml.mandatory +%dir %{_sysconfdir}/gconf/schemas %{_bindir}/* %{_libexecdir}/* %{_libdir}/*.so.* @@ -114,6 +114,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/* %changelog +* Mon Jan 22 2007 Matthias Clasen - 2.16.0-4 +- Own the /etc/gconf/schemas directory +- Misc cleanups + * Sun Oct 29 2006 Ray Strode - 2.16.0-3 - run autoreconf, so that configure gets updated before it generates libtool (so it doesn't just regenerate