[PATCH] Make rpm spec less explicit

Mads Kiilerich mads at kiilerich.com
Sun Nov 23 11:16:11 CST 2008


# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1227460562 -3600
# Node ID 8c6251c0882970cbc699818057e9e76802130e38
# Parent  dc6264393872412f48530a4cd4c41eef3f5df3b9
Make rpm spec less explicit

Fixes:
* current buildrpm failing on Fedora because of unexpected zeroconf extensions
* unowned directories hgext/*/

diff -r dc6264393872 -r 8c6251c08829 contrib/mercurial.spec
--- a/contrib/mercurial.spec	Sun Nov 23 17:51:33 2008 +0100
+++ b/contrib/mercurial.spec	Sun Nov 23 18:16:02 2008 +0100
@@ -65,8 +65,6 @@
 %defattr(-,root,root,-)
 %doc CONTRIBUTORS COPYING doc/README doc/hg*.txt doc/hg*.html doc/ja *.cgi
 %{_mandir}/man?/hg*.gz
-%dir %{pythonlib}
-%dir %{hgext}
 %{_sysconfdir}/bash_completion.d/mercurial.sh
 %{_datadir}/zsh/site-functions/_mercurial
 %{_datadir}/emacs/site-lisp/mercurial.el
@@ -76,12 +74,5 @@
 %{_bindir}/hg-viz
 %{_bindir}/git-rev-tree
 %{_bindir}/mercurial-convert-repo
-%{pythonlib}/templates
-%{pythonlib}/*.py*
-%{pythonlib}/hgweb/*.py*
-%{pythonlib}/*.so
-%{hgext}/*.py*
-%{hgext}/convert/*.py*
-%{hgext}/inotify/*.py*
-%{hgext}/highlight/*.py*
-%{hgext}/inotify/linux/
+%{pythonlib}
+%{hgext}


More information about the Mercurial-devel mailing list