build/mkrpm build/README-F13

John J. McDonough jjmcd at fedoraproject.org
Sat Apr 17 00:04:48 UTC 2010


 build/README-F13 |   23 +++++++++++++++++++++++
 build/mkrpm      |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

New commits:
commit 6404c911840e8d02dd223dd549052578e87038b5
Author: John J. McDonough <jjmcd at Aidan.(none)>
Date:   Fri Apr 16 20:04:32 2010 -0400

    Add script and instructions for building F-13 release notes

diff --git a/build/README-F13 b/build/README-F13
new file mode 100644
index 0000000..65b4191
--- /dev/null
+++ b/build/README-F13
@@ -0,0 +1,23 @@
+How to build the Fedora 13 Release Notes RPM
+
+Install doc-publican-rpm
+  http://koji.fedoraproject.org/koji/taskinfo?taskID=2118329
+
+Make a scratch directory to work in
+
+Download the previous specfile into that directory.  For F13beta:
+  http://cvs.fedoraproject.org/viewvc/F-13/fedora-release-notes/fedora-release-notes.spec?revision=1.39&view=co
+
+Add the new changelog entry to the specfile
+
+Rename the specfile to fedora-release-notes.spec.old
+
+Copy the mkrpm script into your scratch directory
+
+Edit the makerpm script to reflect your info at the top
+  Version, Release and your version of Fedora
+  (author and email will be ignored)
+
+From the scratch directory, execute the script
+
+Wait about 10 minutes
diff --git a/build/mkrpm b/build/mkrpm
new file mode 100755
index 0000000..00aa0d8
--- /dev/null
+++ b/build/mkrpm
@@ -0,0 +1,39 @@
+#!/bin/sh -x
+#
+# Version of target RPM
+VER=12.97.0
+#
+# Release of target RPM
+REL=3
+#
+# Version of Fedora this script running on
+BUILDVER=12
+#
+# RPM Creator
+WHO="John J. McDonough"
+#
+# Creator email
+EMAIL="jjmcd at fedoraproject.org"
+#
+#
+#
+DIR=`pwd`
+git clone git://git.fedorahosted.org/git/docs/release-notes.git
+mv release-notes fedora-release-notes
+cd fedora-release-notes
+git checkout --track -b f13 origin/f13
+# sv-SE and ko-KR broken
+publican build -f html -l en-US,bg-BG,cs-CZ,nl-NL,pt-PT,ru-RU,ca-ES,it-IT,pt-BR,de-DE,pl-PL,zh-CN
+mkdir build
+mkdir build/scratch
+cd build/scratch
+echo "$WHO" >buildrpm.config
+echo "$EMAIL" >>buildrpm.config
+echo "$DIR/fedora-release-notes" >>buildrpm.config
+echo "$VER" >>buildrpm.config
+echo "$REL" >>buildrpm.config
+cp ../../../fedora-release-notes.spec.old .
+doc-publican-rpm
+rpmbuild -ba fedora-release-notes.spec
+cd ~/rpmbuild/SRPMS
+koji build --scratch dist-f13 ./fedora-release-notes-$VER-$REL.fc$BUILDVER.src.rpm




More information about the docs-commits mailing list