Merge branch 'release/0.0.6.0'

This commit is contained in:
Motonori Iwata 2011-10-17 23:14:08 +09:00
commit ffb6e95c5f
3 changed files with 49 additions and 4 deletions

View file

@ -58,5 +58,9 @@ See also
* [An original git-now idea](http://d.hatena.ne.jp/sinsoku/20101208/1291770514) (by [Toshiyuki Kawanishi](https://github.com/toshi-kawanishi))
* [Installation with homebrew](http://d.hatena.ne.jp/nobeans/20110322/1300776839) (by [Yasuharu NAKANO](https://github.com/nobeans))
* [Referred to shell scripts](https://github.com/nvie/gitflow) (by [Vincent Driessen](https://github.com/nvie))
* [Write the RPM spec](http://d.hatena.ne.jp/kazuhisya/20110704/1309783736) (by [Kazuhisa Hara](https://github.com/kazuhisya))
Special thanks
---------------
* [MIZUNO Hiroki](https://github.com/mzp)
* [todesking](https://github.com/todesking)

41
etc/git-now.spec Executable file
View file

@ -0,0 +1,41 @@
Summary: making convenient git commit
Name: git-now
Version: 0.0
Release: 1%{?dist}
License: Apache License, Version 2.0
Group: Development/Languages
Provides: git-now
Requires: git
BuildRequires: git
Source0: git-now
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Packager: Kazuhisa Hara <kazuhisya@gmail.com>
%description
git now: making convenient git commit
%prep
%build
%install
mkdir -p $RPM_BUILD_ROOT/usr/libexec/git-core
make prefix=$RPM_BUILD_ROOT/usr/libexec/git-core install
chmod +x $RPM_BUILD_ROOT/usr/libexec/git-core/git-now
%clean
rm -Rf $RPM_BUILD_ROOT
%post
%files
%defattr(-,root,root)
/usr/libexec/git-core/git-now
%changelog
* Mon Jul 04 2011 Kazuhisa Hara <kazuhisya@gmail.com>
- Initial version
* Mon Oct 17 2011 Motonori Iwata <gootonori@gmail.com>
- use Makefile

View file

@ -1,8 +1,8 @@
require 'formula'
class GitNow < Formula
url 'https://github.com/iwata/git-now.git', :tag => 'v0.0.5.1'
version '0.0.5.1'
url 'https://github.com/iwata/git-now.git', :tag => 'v0.0.6.0'
version '0.0.6.0'
head 'https://github.com/iwata/git-now.git', :branch => 'develop'
homepage 'https://github.com/iwata/git-now'
@ -11,7 +11,7 @@ class GitNow < Formula
def install
system "make", "prefix=#{prefix}", "install"
system "brew ln gnu-getopt"
#system "brew ln gnu-getopt"
end
end