]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Move chrony.spec to examples
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 4 Sep 2014 15:22:09 +0000 (17:22 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 4 Sep 2014 15:25:56 +0000 (17:25 +0200)
examples/chrony.spec [moved from chrony.spec.sample with 100% similarity]
make_release

similarity index 100%
rename from chrony.spec.sample
rename to examples/chrony.spec
index 0a85e24495b6aea1b232e761d18404f7707fcafd..c7f4d7291b85414ddeb97d03533479b3717a734c 100755 (executable)
@@ -37,7 +37,7 @@ cd RELEASES/$subdir || exit 1
 
 echo $version > version.txt
 
-sed -e "s%@@VERSION@@%${version}%" < chrony.spec.sample > chrony.spec
+sed -i -e "s%@@VERSION@@%${version}%" examples/chrony.spec
 
 for m in chrony.1 chronyc.1.in chrony.conf.5.in chronyd.8.in; do
   sed -e "s%@VERSION@%${version}%;s%@MAN_DATE@%${mandate}%" \
@@ -69,7 +69,7 @@ if [ $(wc -l < FAQ) -gt 400 -o $(wc -l < FAQ) -lt 200 ]; then
   exit 3
 fi
 
-rm -f config.h config.log faqgen.pl make_release chrony.spec.sample .gitignore
+rm -f config.h config.log make_release .gitignore
 
 cd ..
 tar cv --owner root --group root $subdir | gzip -9 > ${subdir}.tar.gz