commit 15ce67cbed5255e4342678d36ae52b271cdf5dc9
Author: Jakub Bogusz <qbo...@pld-linux.org>
Date:   Fri Mar 29 19:17:04 2024 +0100

    - fixed description and shebang (there is no __python2 macro); release 2

 git-core-bzr.spec | 27 ++++++++++++++++++++-------
 1 file changed, 20 insertions(+), 7 deletions(-)
---
diff --git a/git-core-bzr.spec b/git-core-bzr.spec
index 286087f..4eef422 100644
--- a/git-core-bzr.spec
+++ b/git-core-bzr.spec
@@ -1,30 +1,44 @@
-%bcond_with    tests
+#
+# Conditional build:
+%bcond_with    tests   # functional tests
 
-Summary:       Git tools for working with mercurial repositories
+Summary:       Git tools for working with Bazaar repositories
+Summary(pl.UTF-8):     Narzędzia Gita do pracy z repozytoriami Bazaar
 Name:          git-core-bzr
 Version:       0.3
-Release:       1
+Release:       2
 Epoch:         1
 License:       GPL v2
 Group:         Development/Tools
-Source0:       
https://github.com/felipec/git-remote-bzr/archive/refs/tags/v%{version}.tar.gz
+#Source0Download: https://github.com/felipec/git-remote-bzr/tags
+# TODO use:
+#Source0:      
https://github.com/felipec/git-remote-bzr/archive/v%{version}/%{name}-%{version}.tar.gz
+Source0:       
https://github.com/felipec/git-remote-bzr/archive/v%{version}.tar.gz
 # Source0-md5: 8cd2a654e9ef928bb89ff8524faaa8a1
 URL:           https://github.com/felipec/git-remote-bzr
+BuildRequires: asciidoc
 BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.745
+%if %{with tests}
+BuildRequires: bzr
+%endif
 Requires:      bzr
 Requires:      git-core
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Git tools for working with mercurial repositories.
+Git tools for working with Bazaar repositories.
+
+%description -l pl.UTF-8
+Narzędzia Gita do pracy z repozytoriami Bazaar.
 
 %define         gitcoredir      %{_libexecdir}/git-core
 
 %prep
 %setup -q -n git-remote-bzr-%{version}
 
-%{__sed} -i -e '1s,/usr/bin/env python2$,%{__python2},' git-remote-bzr
+%{__sed} -i -e '1s,/usr/bin/env python2$,%{__python},' git-remote-bzr
 
 %build
 %{__make} \
@@ -36,7 +50,6 @@ Git tools for working with mercurial repositories.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT{%{gitcoredir},%{_mandir}/man1}
 
 cp -p git-remote-bzr $RPM_BUILD_ROOT%{gitcoredir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/git-core-bzr.git/commitdiff/15ce67cbed5255e4342678d36ae52b271cdf5dc9

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to