とかできちゃうとテストして書き換えてリロードしてテストかできるので楽かも。REPループは短いに限る。
gitage > stack
gitage > file ./gitage/specedit/testdata/gauche.spec
gitage > stack
0: <open file './gitage/specedit/testdata/gauche.spec', mode 'r' at 0x2aaaafb8beb8>
gitage > tag push piy
gitage > stack
0: <open file './gitage/specedit/testdata/gauche.spec', mode 'r' at 0x2aaaafb8beb8>
1: <git.Tag "piyo">
gitage > spec
gitage > stack
0: <gitage.specedit.base.SpecFile instance at 0x2aaaafb97a28>
gitage > write test.spec
gitage > !ls
: dist dump.spec gitage.egg-info log MANIFEST setup.py test.xml
build dump gitage gitage-quickstart log2 setup.cfg test.spec
こんな感じに書き換わる。まだName:しか書き換えてないが。
# Spec file to build Gauche RPM package
# $Id: Gauche.spec,v 1.51 2008-02-13 15:32:09 shirok Exp $
# In order to build different encoding-specific packages (like
# Gauche-euc-jp, etc) from a single source rpm, the actual package
# is created as a subpackage. The command
#
# rpm -ba Gauche.spec
# builds three packages:
# Gauche-VERS.ARCH.rpm ;; dummy package (no use; discard it)
# Gauche-ENC-VERS.ARCH.rpm ;; binary package with encoding ENC
# Gauche-VERS.src.rpm ;; source package
%define version 0.8.14
%define encoding utf8
%define threads pthreads
Buildroot: %{_tmppath}/rpm
Group: Development/Languages
Name: gitage
License: revised BSD
URL: http://practical-scheme.net/gauche/
Summary: Scheme script interpreter with multibyte character handling
Source: Gauche-%{version}.tgz
Version: %{version}
0 件のコメント:
コメントを投稿