Christopher Meng 2d3f4e
Name:           reposurgeon
9f5f35
Version:        3.37
ab77b6
Release:        1%{?dist}
Christopher Meng 2d3f4e
Summary:        SCM Repository Manipulation Tool
Christopher Meng 54a6ca
License:        BSD
Christopher Meng 2d3f4e
URL:            http://www.catb.org/~esr/reposurgeon/
3df848
Source0:        http://www.catb.org/~esr/reposurgeon/%{name}-%{version}.tar.xz
Christopher Meng 97367c
BuildArch:      noarch
ab77b6
Christopher Meng 2d3f4e
BuildRequires:  asciidoc
a97d02
BuildRequires:  python2
ab77b6
BuildRequires:  make
Christopher Meng 97367c
BuildRequires:  xmlto
ab77b6
ab77b6
%if 0%{?fedora} || 0%{?rhel} >= 7
a97d02
Requires:       emacs-filesystem
ab77b6
%endif
a97d02
Requires:       python2
Christopher Meng ad0e06
Christopher Meng ad0e06
%description
a97d02
Reposurgeon enables risky operations that version-control systems don't want
a97d02
to let you do, such as editing past comments and metadata and removing
a97d02
commits. It works with any version control system that can export and import
a97d02
git fast-import streams, including git, hg, fossil, bzr, CVS and RCS. It can
bad4ce
also read Subversion dump files directly and can thus be used to script 
a97d02
production of very high-quality conversions from Subversion to any supported
bad4ce
DVCS.
Christopher Meng ad0e06
Christopher Meng ad0e06
%prep
Christopher Meng ad0e06
%setup -q
Christopher Meng ad0e06
Christopher Meng ad0e06
%build
ab77b6
make %{?_smp_mflags}
Christopher Meng ad0e06
Christopher Meng ad0e06
%install
a97d02
%make_install prefix=%{_prefix} INSTALL="install -p"
a97d02
a97d02
install -pDm644 reposurgeon-mode.el %{buildroot}%{_datadir}/emacs/site-lisp/reposurgeon-mode.el
73e63e
a97d02
# Use %%doc to install docs.
ab77b6
rm -frv %{buildroot}%{_docdir}
Christopher Meng ad0e06
Christopher Meng ad0e06
%files
ab77b6
%{!?_licensedir:%global license %doc}
4ced20
%doc AUTHORS NEWS README.md TODO *.html
bad4ce
%license COPYING
Christopher Meng ad0e06
%{_bindir}/%{name}
ab77b6
%{_bindir}/repocutter
Christopher Meng ad0e06
%{_bindir}/repodiffer
b5b2a4
%{_bindir}/repomapper
a97d02
%{_bindir}/repotool
ab77b6
%if 0%{?rhel} && 0%{?rhel} < 7
ab77b6
%dir %{_datadir}/emacs/site-lisp/
ab77b6
%endif
a97d02
%{_datadir}/emacs/site-lisp/reposurgeon-mode.el
Christopher Meng 77d960
%{_mandir}/man1/%{name}.1*
ab77b6
%{_mandir}/man1/repocutter.1*
Christopher Meng 77d960
%{_mandir}/man1/repodiffer.1*
b5b2a4
%{_mandir}/man1/repomapper.1*
a97d02
%{_mandir}/man1/repotool.1*
Christopher Meng ad0e06
Christopher Meng ad0e06
%changelog
9f5f35
* Mon Mar 21 2016 Denis Fateyev <denis@fateyev.com> - 3.37-1
9f5f35
- Update to 3.37
9f5f35
ab77b6
* Fri Mar 04 2016 Denis Fateyev <denis@fateyev.com> - 3.35-1
ab77b6
- Update to 3.35
ab77b6
efaacc
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.29-2
efaacc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
efaacc
3df848
* Fri Sep 04 2015 Christopher Meng <rpm@cicku.me> - 3.29-2
3df848
- Update to 3.29
3df848
a97d02
* Sun Jul 19 2015 Christopher Meng <rpm@cicku.me> - 3.28-1
a97d02
- Update to 3.28
a97d02
0b977e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.19-2
0b977e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0b977e
bad4ce
* Thu Jan 22 2015 Christopher Meng <rpm@cicku.me> - 3.19-1
bad4ce
- Update to 3.19
bad4ce
b3b32e
* Thu Sep 18 2014 Christopher Meng <rpm@cicku.me> - 3.12-1
b3b32e
- Update to 3.12
b3b32e
- Explicit svn:ignore patterns aren't recursive to lower directories; cope.
b3b32e
- A new 'ignores' command has obtions for translation of ignore files.
b3b32e
- The --noignores option has been retired.
b3b32e
369236
* Thu Aug 28 2014 Christopher Meng <rpm@cicku.me> - 3.11-1
b6ff8c
- Update to 3.11
369236
- When converting SVN, ignore explicit .gitignores created by git-svn.
369236
7b95d1
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10-2
7b95d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7b95d1
e3fae7
* Tue Apr 22 2014 Christopher Meng <rpm@cicku.me> - 3.10-1
b6ff8c
- Update to 3.10
e3fae7
- Finer control over filtering with caC flags.
e3fae7
- New setfield command for tweaking object attributes from lift scripts.
e3fae7
- The attribution-parsing code handles odd characters in names better now. 
e3fae7
- The filter command can operate on email addresses as well as names.
e3fae7
- New 'stamp' command to report action stamps of commits.
e3fae7
- New 'count' comment reports selection-set counts.
e3fae7
- New branchify_mapping option for renaming Subversion branches on analysis.
e3fae7
- New transcode command for moving metadata to UTF-8.
e3fae7
- New @dsc() function for selecting all descendants of a selection set.
e3fae7
88957f
* Fri Mar 21 2014 Christopher Meng <rpm@cicku.me> - 3.7-1
b6ff8c
- Update to 3.7
88957f
- New --dedos option for filter command, to change \r\n line endings to \n.
88957f
- New append command for annotating comments.
88957f
- The 'b' search code has been changed to appropriately match non-commits.
88957f
- New form of 'graft' allows greater control over graft points.
88957f
- New =I selector to find non-UTF-8 commit metadata.
88957f
- Import stream comments led with # are preserved as passthroughs.
88957f
- Buggy text search of authors fields has been fixed.
88957f
73e63e
* Thu Feb 20 2014 Christopher Meng <rpm@cicku.me> - 3.6-1
b6ff8c
- Update to 3.6
73e63e
- Major rewrite of the generic conversion makefile.
73e63e
- Fixed a bug in the graft and unite commands.
73e63e
- Single fossil or tag names now select as if surrounded by <>.
73e63e
- Fixed more bugs in debranch.
73e63e
- @amp() function useful for logic-gating in conjunctive expressions.
73e63e
- New 'assign' command allows precomputation of expensive selections.
73e63e
- There's an 'unassign' as well.
73e63e
- exec/eval facility for custom Python extensions.
73e63e
- path rename has a --relax and --force options to deal with oath collisions
73e63e
- New --changelog option of coalesce can recognize FSF-style ChangeLog files.
73e63e
840230
* Thu Feb 13 2014 Christopher Meng <rpm@cicku.me> - 3.3-1
b6ff8c
- Update to 3.3
840230
- Set negation in selections with ~.
840230
- @min() and @max() in selections.
840230
- 'define' by itself lists macros.
840230
- New 'deletes' option in the remove command.
840230
cbef27
* Wed Feb 05 2014 Christopher Meng <rpm@cicku.me> - 3.2-1
b6ff8c
- Update to 3.2
cbef27
- New path rename command.
cbef27
- List and inspect now take either a leading or following selection.
cbef27
- Text search selections can now have a B suffix to search blobs.
cbef27
- Now possible to transplant fileops between commits using remove .. to.
cbef27
- A date of the form <yyyy-mm-dd> selects all commits and tags that day.
cbef27
- Macros can now be multiline.
cbef27
- The filter command now has a --replace modifier to avoid regex overhead.
cbef27
- Associated branches are renamed when a reset or tag is moved or deleted.
cbef27
- Bug fix for off-by-one error in tags reporting.
cbef27
- Many syntactic features of the language have changed incompatibly.
cbef27
- Backward-incompatible language changes are documented on the manual page.
cbef27
- 'expunge' and 'unite' commands have been incompatibly improved.
cbef27
- New 'strip' command for generating test cases with blobs stripped out
cbef27
- New 'reduce' command for topological reduction of test cases.
cbef27
- The 'lint' command gets a test for the existence of multiple roots.
cbef27
- Selecting a date or action stamp matching multiple commits now matches all.
cbef27
- The surgical language now has a macro facility.
cbef27
- "set canonicalize" is now effective during import stream reads.
cbef27
- Introduced =O, =M, =F selectors for parentless, merge, and fork commits.
cbef27
- The "multiline" modifier on edit is replaced by the =L selector.
cbef27
- Selection-set evaluation now short-circuits predicates and is faster.
cbef27
- Fixed a buggy test that caused the reader to choke on submodule links.
cbef27
Christopher Meng 54a6ca
* Thu Nov 21 2013 Christopher Meng <rpm@cicku.me> - 2.42-1
b6ff8c
- Update to 2.42
Christopher Meng 54a6ca
- Prevented crash when tagifying a mixed-branch commit.
Christopher Meng 54a6ca
- svn_no_autoignores -> svn_noautoignores.
Christopher Meng 54a6ca
- Ignore single-rev mergeinfos in Subversion, they're cherry-picks.
Christopher Meng 54a6ca
Christopher Meng 97367c
* Sat Nov 09 2013 Christopher Meng <rpm@cicku.me> - 2.41-1
b6ff8c
- Update to 2.41
Christopher Meng 54a6ca
- Fixed a fatal bug when reading any symlink from a live Subversion repo.
Christopher Meng 54a6ca
- Added svn_no_autoignores option.
Christopher Meng 97367c
Christopher Meng 2d3f4e
* Thu Aug 08 2013 Christopher Meng <rpm@cicku.me> - 2.40-1
b6ff8c
- Update to 2.40
Christopher Meng 54a6ca
- Improvements in .gitignore processing.
Christopher Meng 2d3f4e
c68eb6
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.39-3
c68eb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c68eb6
Christopher Meng ad0e06
* Wed May 29 2013 Christopher Meng <rpm@cicku.me> - 2.39-2
Christopher Meng ad0e06
- Add parallel make support.
Christopher Meng ad0e06
Christopher Meng ad0e06
* Fri May 24 2013 Christopher Meng <rpm@cicku.me> - 2.39-1
b6ff8c
- Update to 2.39
Christopher Meng 54a6ca
- New 'tagify' command for tagifying empty commits.
Christopher Meng 54a6ca
- Correctness fixes for deletion edge cases.
Christopher Meng ad0e06
Christopher Meng ad0e06
* Fri May 10 2013 Christopher Meng <rpm@cicku.me> - 2.38-1
b6ff8c
- Update to 2.38
Christopher Meng 54a6ca
- Significant improvements to Subversion branch link detection.
Christopher Meng 54a6ca
- New 'reparent' command for modifying the DAG.
Christopher Meng 54a6ca
- Fixes for two minor crash bugs in handling of malformed commands.
Christopher Meng 54a6ca
Christopher Meng ad0e06
* Fri Apr 26 2013 Christopher Meng <rpm@cicku.me> - 2.37-1
b6ff8c
- Update to 2.37
Christopher Meng 54a6ca
- No more tree pollution on branches deduced from file copies.
Christopher Meng ad0e06
Christopher Meng ad0e06
* Sun Apr 21 2013 Christopher Meng <rpm@cicku.me> - 2.35-1
b6ff8c
- Update to 2.35
Christopher Meng 54a6ca
- New "manifest" command.
Christopher Meng 54a6ca
- Path-matching now has @ to require all paths in a commit to match.
Christopher Meng ad0e06
Christopher Meng ad0e06
* Wed Apr 17 2013 Christopher Meng <rpm@cicku.me> - 2.33-1
b6ff8c
- Update to 2.33
Christopher Meng ad0e06
Christopher Meng ad0e06
* Sun Apr 07 2013 Christopher Meng <rpm@cicku.me> - 2.32-1
Christopher Meng ad0e06
- Initial package.