Name: src Version: 1.28 Release: 2%{?dist} Summary: Simple Revision Control License: BSD URL: https://gitlab.com/esr/src Source0: https://gitlab.com/esr/src/-/archive/%{version}/%{name}-%{version}.tar.bz2 # Backport upstream commit 1bbebb4a34a4d76a769fe4d70ed735af599add71: # # Stop issuing branch-tip resets when fast-exporting. # # At some point git-fast-export stopped issuing branch-tip resets. # Synchronize with it. # # Fixes test failure: # --- Expected # +++ Actual # @@ -45,6 +45,3 @@ # from :4 # M 100644 :5 testfile1 # # -reset refs/heads/master # -from :6 # - # srctest (/usr/bin/python3 rcs): fast-export roundtrip: filename failed' Patch0: src-1.28-backport-1bbebb4a.patch BuildRequires: asciidoc BuildRequires: git-core BuildRequires: make BuildRequires: python3-devel BuildRequires: rcs Requires: rcs Requires: python3 Recommends: git-core BuildArch: noarch %description Simple Revision Control is RCS reloaded with a modern UI, designed to manage single-file solo projects kept more than one to a directory. Has a modern, svn/hg/git-like UI %prep %autosetup %py3_shebang_fix src %build %make_build all FAQ.html %install %make_install prefix=%{_prefix} %check # We must provide a valid git user configuration for the tests to pass. mkdir git-home cat > git-home/.gitconfig <<'EOF' [user] name = Bogus Example email = bogus@example.com EOF # Redirecting and capturing stderr keeps the test script from detecting the # terminal size, which affects the output and can cause failures. result="$(HOME="${PWD}/git-home" ./srctest -b rcs -p %{python3} 2>&1)" echo "${result}" %files %license COPYING %doc NEWS README FAQ.html %{_bindir}/src %{_mandir}/man1/src.1* %changelog * Tue May 04 2021 Bob Hepple - 1.28-2 - rebuilt * Thu Apr 22 2021 Bob Hepple - 1.28-1 - rebuilt