On (27/08/13 11:11), Stephen Gallagher wrote:
When we're running 'make rpms' for development purposes,
the nested
call to 'make distdir' ends up forcing an update of the translation pot
files. With this patch, we'll automatically ignore them during (S)RPM
actions.
>From 084246eb8f5890df35e981a8118b221e878af9c5 Mon Sep 17 00:00:00 2001
>From: Stephen Gallagher <sgallagh(a)redhat.com>
>Date: Tue, 27 Aug 2013 11:05:05 -0400
>Subject: [PATCH] BUILD: Ignore translations when building RPMs
>
When we're running 'make rpms' for development purposes,
the nested
call to 'make distdir' ends up forcing an update of the translation pot
files. With this patch, we'll automatically ignore them during (S)RPM
actions.
>---
> Makefile.am | 6 ++++++
> 1 file changed, 6 insertions(+)
>
>diff --git a/Makefile.am b/Makefile.am
>index
4dd8ed352179211dcbbc19a61936d1041ab08408..5cd99b18634ed3ad5ca85d071d25304c64c4d171 100644
>--- a/Makefile.am
>+++ b/Makefile.am
>@@ -1983,6 +1983,12 @@ rpmroot:
> mkdir -p $(RPMBUILD)/SRPMS
>
> rpmbrprep: dist-gzip rpmroot
>+if GIT_CHECKOUT
>+# When we're building RPMs from a git checkout,
>+# we don't want to be bothered with translation
>+# updates
>+ git checkout $(srcdir)/po $(srcdir)/src/man/po
>+endif
> cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS
> cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
> cp $(srcdir)/contrib/*.patch $(RPMBUILD)/SOURCES
>--
+1
LS