From 8903fcb9e51a618a3a6d4782b47ad06f6736e2d4 Mon Sep 17 00:00:00 2001 From: Kazuhisa Hara Date: Mon, 4 Jul 2011 13:51:01 +0900 Subject: [PATCH 1/4] cherry-pick commit by kazuhisya http://d.hatena.ne.jp/kazuhisya/20110704/1309783736 --- etc/git-now.spec | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 etc/git-now.spec diff --git a/etc/git-now.spec b/etc/git-now.spec new file mode 100755 index 0000000..944f5ce --- /dev/null +++ b/etc/git-now.spec @@ -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 + +%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 +- Initial version +* Mon Oct 17 2011 Motonori Iwata +- use Makefile From 6a468ae788138727bcd6a7da917032ed31e08764 Mon Sep 17 00:00:00 2001 From: todesking Date: Thu, 28 Apr 2011 04:52:55 -0700 Subject: [PATCH 2/4] cherry-pick commit by todesking From 778b369af9da8eb5b07c7bf87629a98a30d4a73f Mon Sep 17 00:00:00 2001 From: MIZUNO Hiroki Date: Fri, 5 Aug 2011 00:57:41 -0700 Subject: [PATCH 3/4] cherry-pick commit by mzp From 5efede55030f6ab41e24d8af547f03c21cb01c32 Mon Sep 17 00:00:00 2001 From: Motonori Iwata Date: Mon, 17 Oct 2011 23:13:51 +0900 Subject: [PATCH 4/4] add commiters --- README.mdown | 6 +++++- git-now.rb | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.mdown b/README.mdown index f9b631b..8eac906 100644 --- a/README.mdown +++ b/README.mdown @@ -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) diff --git a/git-now.rb b/git-now.rb index aa28aec..7a82d28 100644 --- a/git-now.rb +++ b/git-now.rb @@ -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