rhel: Fix "make distcheck" failure due to regenerating spec files.
authorBen Pfaff <blp@nicira.com>
Thu, 25 Aug 2011 17:18:47 +0000 (10:18 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 15 Sep 2011 18:19:59 +0000 (11:19 -0700)
commitd56bfe387167efbf99600cb2c054dd36f7ae6033
treeb416c3ef3dba37517a2fab3bc827620d71641c7d
parent109b8459218973f7fba72fc606bcdbbb306592de
rhel: Fix "make distcheck" failure due to regenerating spec files.

We want to regenerate the RPM spec files whenever the version number
changes, hence the dependency on config.status.  But that means that we
try to modify the spec files even when the version number doesn't change,
which cause "make distcheck" to fail because it write-protects the source
directory.  So this commit instead just "touch"es the spec files when
they don't really change, which still works OK with a write-protected
source directory.
rhel/automake.mk