浏览代码

Applied second review notes from Robert-André Mauchin

Ref.:

    https://bugzilla.redhat.com/show_bug.cgi?id=1595420#c4
Alois Mahdal 6 年前
父节点
当前提交
0dedac89fa
共有 1 个文件被更改,包括 0 次插入14 次删除
  1. 0
    14
      ydiff.spec.in

+ 0
- 14
ydiff.spec.in 查看文件

@@ -5,7 +5,6 @@ Summary:    View colored, incremental diff
5 5
 URL:        https://github.com/ymattw/ydiff
6 6
 License:    BSD
7 7
 Source0:    __APP_URLBASE__/archive/%{version}/%{name}-%{version}.tar.gz
8
-BuildRequires: python2-devel
9 8
 BuildRequires: python3-devel
10 9
 BuildArch: noarch
11 10
 
@@ -16,11 +15,6 @@ Term based tool to view colored, incremental diff in a Git/Mercurial/Svn
16 15
 workspace or from stdin, with side by side (similar to diff -y) and auto
17 16
 pager support.
18 17
 
19
-%package -n python2-%{name}
20
-Summary: %{summary}
21
-%description -n python2-%{name}
22
-Python library that implements API used by ydiff tool.
23
-
24 18
 %package -n     python3-%{name}
25 19
 Summary:        %{summary}
26 20
 %{?python_provide:%python_provide python3-%{name}}
@@ -32,11 +26,9 @@ Python library that implements API used by ydiff tool.
32 26
 /usr/bin/sed -i '/#!\/usr\/bin\/env python/d' ydiff.py
33 27
 
34 28
 %build
35
-%py2_build
36 29
 %py3_build
37 30
 
38 31
 %install
39
-%py2_install
40 32
 %py3_install
41 33
 
42 34
 %files
@@ -44,12 +36,6 @@ Python library that implements API used by ydiff tool.
44 36
 %license LICENSE
45 37
 %{_bindir}/ydiff
46 38
 
47
-%files -n python2-%{name}
48
-%{python2_sitelib}/%{name}.py
49
-%{python2_sitelib}/%{name}.pyc
50
-%{python2_sitelib}/%{name}.pyo
51
-%{python2_sitelib}/%{name}-*.egg-info
52
-
53 39
 %files -n python3-%{name}
54 40
 %{python3_sitelib}/__pycache__/*
55 41
 %{python3_sitelib}/%{name}.py