summaryrefslogtreecommitdiff
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
parent83846a450f0374c464d9ce3f9706a6c21606eab8 (diff)
automatic import of titoopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--sources2
-rw-r--r--tito.spec27
3 files changed, 10 insertions, 20 deletions
diff --git a/.gitignore b/.gitignore
index 1c901a6..94034a4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/tito-0.6.22.tar.gz
+/tito-0.6.21.tar.gz
diff --git a/sources b/sources
index 1bb8ee5..5b413f3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3984df497b6324d68df1ac7e0c40b525 tito-0.6.22.tar.gz
+44d5a5ba440d7e0b9c527bfc7d5195c0 tito-0.6.21.tar.gz
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