summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskvidal <skvidal>2005-05-28 16:29:45 +0000
committerskvidal <skvidal>2005-05-28 16:29:45 +0000
commitde1e2f5a7967786ed2c2b5cb514bd0a51747557d (patch)
treeea0fdcb83617089afaa49609503e34dcc017c96b
parent4fe0b9451b87bd8f750f06b7a2f6ffd4a80a2516 (diff)
downloadmock-de1e2f5a7967786ed2c2b5cb514bd0a51747557d.tar.gz
mock-de1e2f5a7967786ed2c2b5cb514bd0a51747557d.tar.xz
mock-de1e2f5a7967786ed2c2b5cb514bd0a51747557d.zip
make the default.cfg symlink
-rw-r--r--README1
-rw-r--r--mock.spec3
2 files changed, 3 insertions, 1 deletions
diff --git a/README b/README
index e14d05c..c479e61 100644
--- a/README
+++ b/README
@@ -27,5 +27,4 @@ mock does:
TODO: document more
TODO: man page?
-TODO: symlink fedora-development-i386-core.cfg to default.cfg
TODO: changelog
diff --git a/mock.spec b/mock.spec
index 266d8d7..26e62bb 100644
--- a/mock.spec
+++ b/mock.spec
@@ -24,6 +24,9 @@ make
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
+# make the default.cfg link
+ln -s %{_sysconfdir}/%{name}/fedora-development-i386-core.cfg \
+ %{_sysconfdir}/%{name}/default.cfg
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT