summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drakconf.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/drakconf.spec b/drakconf.spec
index a2a82d83..6f8a885a 100644
--- a/drakconf.spec
+++ b/drakconf.spec
@@ -66,6 +66,9 @@ bzcat %SOURCE3 > %buildroot/%_liconsdir/drakconf.png
#this allow user to use drakconf
ln -sf %_bindir/drakconf %buildroot/%_sbindir/drakconf
+install -d %buildroot/etc
+touch %buildroot/etc/mcc.conf
+
%post
%update_menus
@@ -81,7 +84,7 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%doc COPYING
-%config(noreplace) %ghost /etc/mcc
+%config(noreplace) %ghost /etc/mcc.conf
%_bindir/*
%_sbindir/*
%_menudir/drakconf
@@ -99,6 +102,8 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Aug 13 2002 Pixel <pixel@mandrakesoft.com> 9.0-0.6mdk
- add WebDAV entry
+- replace /etc/mcc with /etc/mcc.conf (?)
+- create the ghost file at build time to make rpm happy
* Mon Aug 12 2002 Daouda LO <daouda@mandrakesoft.com> 9.0-0.5mdk
- cleanups