From fc904f475500a52e7edd86e447d8d147a08dc1df Mon Sep 17 00:00:00 2001 From: Neal Becker Date: Thu, 20 Sep 2007 23:06:17 +0000 Subject: [PATCH] Use %ghost on contrib, otherwise EL-4 build fails --- mercurial.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/mercurial.spec b/mercurial.spec index fcd37c9..15be827 100644 --- a/mercurial.spec +++ b/mercurial.spec @@ -1,7 +1,7 @@ Summary: A fast, lightweight distributed source control management system Name: mercurial Version: 0.9.4 -Release: 4%{?dist} +Release: 5%{?dist} License: GPL Group: Development/Tools URL: http://www.selenic.com/mercurial/ @@ -50,10 +50,15 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.files %defattr(-,root,root,-) %doc CONTRIBUTORS README contrib/sample.hgrc -%{_sysconfdir}/mercurial +%{_sysconfdir}/mercurial/ +%dir %{_datadir}/mercurial/ +%ghost %{_datadir}/mercurial/contrib/*.py[co] %{_mandir}/man*/* %changelog +* Thu Sep 20 2007 Neal Becker - 0.9.4-5 +- Use %ghost on contrib, otherwise EL-4 build fails + * Thu Sep 20 2007 Neal Becker - 0.9.4-4 - remove %{_datadir}/contrib stuff for now