updates.
authorPekka Riikonen <priikone@silcnet.org>
Fri, 1 Jun 2007 05:36:24 +0000 (05:36 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Fri, 1 Jun 2007 05:36:24 +0000 (05:36 +0000)
README.DIST
apps/autodist/autodist.spec.in
distdir/autodist
distdir/autodist-post-process-dist
distdir/pre-dist-toolkit
distdir/toolkit
silc-toolkit.spec.in

index a2942501957a1ad683e1075c92767649e319006a..cfd1d98f92404ab9f5ceb4b916c0972860b6125e 100644 (file)
@@ -29,6 +29,14 @@ major.minor.build, for example 0.9.10.  Example:
 This prepares 'client' distribution of version 0.9.15.  The package will 
 have the version 0.9.15 automatically.
 
+NOTE: Those distribution that have RPM spec files you should specify the 
+RPM release version to autodist also by doing the following:
+
+       autodist toolkit 1.1.2 0.fc7
+
+where the "0.fc7" will become the RPM release version.  If you omit the 
+release version the default currently is "0.fc7".
+
 
 Configuring and compiling the distribution
 ==========================================
index 4455daaa8704841c597003c91d16dfe01e6c9860..cd2bb3f31008fcda26b5e6fb8884369b3982f579 100644 (file)
@@ -38,14 +38,6 @@ rm -f $RPM_BUILD_ROOT/%{_datadir}/autodist/COPYING
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/install-info %{_infodir}/autodist.info %{_infodir}/dir || :
-
-%prerun
-if [ "$1" = 0 ]; then
-    /sbin/install-info --del %{_infodir}/autodist.info %{_infodir}/dir || :
-fi
-
 %files
 %defattr(-, root, root, -)
 %{_bindir}/*
index 672b82e96ebff6232fa84e796f0fd0bf29f7b3a9..475a3f6fbd169554a24f8cab717ff378432e29ef 100644 (file)
@@ -1,6 +1,7 @@
 name SILC Autodist
 package autodist
 bug-report autodist-bugs@silcnet.org
+prereq 1.3.2
 
 license apps/autodist/COPYING
 license-header distdir/GPL-header distdir/BSD-header
index 1d17dbfd67776c2d2d9eb0d2199c06a998e8d467..768ce026439c13682ba4ebb9495492047c42031d 100644 (file)
@@ -13,6 +13,11 @@ if test -d $distdir; then
   rm -rf `find $distdir -name Makefile`
 fi
 
-sed -e "s/AUTODIST_VERSION/$dist_version/" apps/autodist/autodist.spec.in \
-  > $distdir/autodist.spec
+release=$5
+if test -z $release; then
+  release="0.fc7"
+fi
+
+sed -e "s/AUTODIST_VERSION/$dist_version/" -e "s/AUTODIST_RELEASE/$release/" \
+  apps/autodist/autodist.spec.in > $distdir/autodist.spec
 
index 4f5641b10cac2fde3dc60b591df2060740f246eb..12d05fd464a1ae6a23ced79c25e1b936f0caae78 100644 (file)
@@ -4,8 +4,14 @@ distribution=$1
 dist_version=$2
 package=$3
 distdir=$4
+release=$5
 
-sed -e "s/SILC_VERSION/$dist_version/" silc-toolkit.spec.in > silc-toolkit.spec
+if test -z $release; then
+  release="0.fc7"
+fi
+
+sed -e "s/SILC_VERSION/$dist_version/" -e "s/SILC_RELEASE/$release/" \
+  silc-toolkit.spec.in > silc-toolkit.spec
 
 ./configure
 
index 17c80c94f76da77b00acd862d66d7f4b2203af39..ddbb2732082757d3af3dc39ba7775fbe31dccc19 100644 (file)
@@ -1,6 +1,7 @@
 name Toolkit
 package silc-toolkit
 bug-report silc-devel@lists.silcnet.org
+prereq 1.3.2
 
 # Inherits
 inherit common
index f819953bc02082dfb3149470d40bd7df806453f6..a59ee1c63c013a46e1db1851aa85cb8d3b1a83ed 100644 (file)
@@ -1,7 +1,7 @@
 Summary: SILC Toolkit
 Name: silc-toolkit
 Version: SILC_VERSION
-Release: 0.fc6
+Release: SILC_RELEASE
 License: GPL/BSD dual licensed
 Group: System Environment/Libraries
 URL: http://silcnet.org/