commit 9015cbc506702a2841e67d9590603328a403e1a3
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Tue Jan 30 23:01:52 2024 +0100

    test / R mercurial

 git-core-hg.spec | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
diff --git a/git-core-hg.spec b/git-core-hg.spec
index 7668566..f0b78c2 100644
--- a/git-core-hg.spec
+++ b/git-core-hg.spec
@@ -1,3 +1,5 @@
+%bcond_with    tests
+
 Summary:       Git tools for working with mercurial repositories
 Name:          git-core-hg
 Version:       0.6
@@ -10,6 +12,10 @@ Source0:     
https://github.com/felipec/git-remote-hg/archive/refs/tags/v%{version}.
 URL:           https://github.com/felipec/git-remote-hg
 BuildRequires: rpm-pythonprov
 Requires:      git-core
+Requires:      mercurial >= 1.8
+%if %{with tests}
+BuildRequires: mercurial >= 1.8
+%endif
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -27,6 +33,10 @@ Git tools for working with mercurial repositories.
 %{__make} \
        V=1
 
+%if %{with tests}
+%{__make} test
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/git-core-hg.git/commitdiff/9015cbc506702a2841e67d9590603328a403e1a3

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to