From Fedora Project Wiki
(New section: another way to checkout data from vcs) |
m (Talk:Packaging/SugarActivityGuidelines moved to Packaging talk:SugarActivityGuidelines: Moving Packaging Pages to Packaging Namespace) |
||
(One intermediate revision by one other user not shown) | |||
Line 21: | Line 21: | ||
rm -rf $FILE | rm -rf $FILE | ||
curl -o $FILE $SNAPSHOT_URL</pre> | curl -o $FILE $SNAPSHOT_URL</pre> | ||
== %build section == | |||
mkdir -p $RPM_BUILD_ROOT%{sugaractivitydir} | |||
not always needed |
Latest revision as of 03:27, 21 December 2008
The following metadata was found in MoinMoin that could not be converted
to a useful value in MediaWiki:
- Script: to create the source tarball
another way to checkout data from vcs
#!/bin/bash # This script based on a template from the Fedora Project wiki # https://fedoraproject.org/wiki/Packaging/SugarActivityGuidelines#Sample_Checkout_Script # # sugar-paint-checkout.sh VERSION=23 NAME=Paint FILE=$NAME-$VERSION.tar.gz SNAPSHOT_URL="http://dev.laptop.org/git?p=projects/oficina;a=snapshot;h=352cc6d4e7d750e2a501024f0f0e74e92605a8a3" # Pull down the snapshot rm -rf $FILE curl -o $FILE $SNAPSHOT_URL
%build section
mkdir -p $RPM_BUILD_ROOT%{sugaractivitydir}
not always needed