forked from avocado-framework/aexpect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
python-aexpect.spec
73 lines (56 loc) · 2.26 KB
/
python-aexpect.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
%global srcname aexpect
Summary: Aexpect is a python library to control interactive applications
Name: python-%{srcname}
Version: 1.4.0
Release: 1%{?dist}
License: GPLv2
Group: Development/Tools
URL: http://avocado-framework.readthedocs.org/
Source: %{srcname}-%{version}.tar.gz
BuildArch: noarch
Requires: python
BuildRequires: python, python-setuptools
# For compatibility reasons, let's mark this package as one that
# provides the same functionality as the old package name and also
# one that obsoletes the old package name, so that the new name is
# favored. These could (and should) be removed in the future.
# These changes are backed by the following guidelines:
# https://fedoraproject.org/wiki/Upgrade_paths_%E2%80%94_renaming_or_splitting_packages
Obsoletes: %{srcname} < 1.3.1-1
Provides: %{srcname} = %{version}-%{release}
%description
Aexpect is a python library used to control interactive applications, very
similar to pexpect. You can use it to control applications such as ssh, scp
sftp, telnet, among others.
%prep
%setup -q -n %{srcname}-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install --root %{buildroot} --skip-build
%files
%defattr(-,root,root,-)
%{python_sitelib}/aexpect*
%{_bindir}/aexpect-helper
%changelog
* Mon Apr 3 2017 Lucas Meneghel Rodrigues <[email protected]> - 1.4.0-1
- Upgrade to upstream version 1.4.0
* Wed Mar 8 2017 Cleber Rosa <[email protected]> - 1.3.1-1
- Rename package to python-aexpect
* Mon Feb 20 2017 Lucas Meneghel Rodrigues <[email protected]> - 1.3.1-0
- Update to upstream version 1.3.1
- Fix encoding related bug.
* Thu Jan 12 2017 Lucas Meneghel Rodrigues <[email protected]> - 1.3.0-2
- Fix dependency on python-setuptools.
* Thu Jan 12 2017 Lucas Meneghel Rodrigues <[email protected]> - 1.3.0-1
- Update to upstream version 1.3.0.
* Tue Jun 7 2016 Lucas Meneghel Rodrigues <[email protected]> - 1.2.0-1
- Update to upstream version 1.2.0.
* Thu Sep 17 2015 Lucas Meneghel Rodrigues <[email protected]> - 1.1.0-1
- Update to upstream version 1.1.0.
* Fri Jul 31 2015 Lucas Meneghel Rodrigues <[email protected]> - 1.0.1-2
- Fix spec bug
* Fri Jul 31 2015 Lucas Meneghel Rodrigues <[email protected]> - 1.0.1-1
- First COPR build
* Thu Apr 23 2015 Lucas Meneghel Rodrigues <[email protected]> - 1.0.0-1
- First RPM