forked from stefanha/git-publish
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit-publish.spec
More file actions
49 lines (42 loc) · 1.79 KB
/
git-publish.spec
File metadata and controls
49 lines (42 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Name: git-publish
Version: 1.2
Release: 1%{?dist}
Summary: Prepare and store patch revisions as git tags
License: MIT
URL: https://github.com/stefanha/git-publish
Source0: https://github.com/stefanha/git-publish/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildArch: noarch
Requires: python2 >= 2.7
Requires: git-core
%description
git-publish handles repetitive and time-consuming details of managing patch
email submission. It works with individual patches as well as patch series and
has support for pull request emails.
Each revision is stored as a git tag including the cover letter (if any). This
makes it easy to refer back to previous revisions of a patch. Numbering is
handled automatically and the To:/Cc: email addresses are remembered across
revisions to save you retyping them.
Many projects have conventions for submitting patches. It is possible to
encode them as a .gitpublish file and hooks/ scripts. This automatically uses
the right settings and can run a coding style checker or linting tools before
emails are sent.
%prep
%autosetup
%build
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_datadir}/git-publish/hooks
install -p -m 755 git-publish %{buildroot}%{_bindir}/
install -p -m 644 hooks/pre-publish-send-email.example %{buildroot}%{_datadir}/git-publish/hooks/
%files
%license LICENSE
%doc README.rst
%_bindir/git-publish
%_datadir/git-publish/hooks/pre-publish-send-email.example
%changelog
* Wed Mar 1 2017 Stefan Hajnoczi <stefanha@gmail.com> - 1.2-1
- Honor git-config(1) pushDefault/pushRemote options
- Display git-send-email(1) CC list before sending
- Fix git-publish --setup when run outside of a git repo
* Fri Dec 9 2016 Stefan Hajnoczi <stefanha@gmail.com> - 1.1-1
- git-publish 1.1