summaryrefslogtreecommitdiff
path: root/tito.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-21 03:35:20 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-21 03:35:20 +0000
commit7ada23d373ef13246d000e82715e7ffa5c970324 (patch)
treedafac386d8d11cc873988b0cd45b8ec22fc17408 /tito.spec
parent83846a450f0374c464d9ce3f9706a6c21606eab8 (diff)
automatic import of titoopeneuler20.03
Diffstat (limited to 'tito.spec')
-rw-r--r--tito.spec27
1 files changed, 8 insertions, 19 deletions
diff --git a/tito.spec b/tito.spec
index 13af126..0ac8fd4 100644
--- a/tito.spec
+++ b/tito.spec
@@ -2,12 +2,11 @@
%global use_python2 0
%global ourpythonbin %{__python3}
%global our_sitelib %{python3_sitelib}
-
%{!?our_sitelib: %define our_sitelib %(%{ourpythonbin} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: tito
-Version: 0.6.22
-Release: 1
+Version: 0.6.21
+Release: 1%{?dist}
Summary: A tool for managing rpm based git projects
License: GPLv2
@@ -16,22 +15,17 @@ URL: https://github.com/rpm-software-management/tito
# git clone https://github.com/rpm-software-management/tito
# cd tito
# tito build --tgz
-Source0: %{url}/releases/download/%{name}-%{version}-%{release}/%{name}-%{version}.tar.gz
+Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
-%if %{use_python3}
+
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-setuptools
+#Requires: python3-bugzilla
Requires: python3-blessed
Requires: rpm-python3
-%else
-BuildRequires: python2-devel
-BuildRequires: python-setuptools
-Requires: python-setuptools
-Requires: python-blessed
-Requires: rpm-python
-%endif
+
BuildRequires: asciidoc
BuildRequires: docbook-style-xsl
BuildRequires: libxslt
@@ -39,16 +33,11 @@ BuildRequires: rpmdevtools
BuildRequires: rpm-build
BuildRequires: tar
BuildRequires: which
-
BuildRequires: git
-BuildRequires: python3-devel
-BuildRequires: python3-setuptools
-BuildRequires: rpm-python3
Requires: rpm-build
Requires: rpmlint
Requires: rpmdevtools
-Requires: git
# Cheetah used not to exist for Python 3, but it's what Mead uses. We
# install it and call via the command line instead of importing the
# previously potentially incompatible code, as we have not yet got
@@ -99,5 +88,5 @@ install -Dp -m 0644 share/tito_completion.sh %{buildroot}%{_datadir}/bash-comple
%changelog
-* Wed Mar 22 2023 lichaoran <pkwarcraft@hotmail.com> - 0.6.22-1
-- Init package
+* Mon Aug 15 2022 hanjinpeng <hanjinpeng@kylinos.cn> - 0.6.21-1
+- Package init