Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
d122ec06d2
!12 【轻量级 PR】:Rebuild for next release
From: @zhouwenpei 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
2022-10-26 09:15:45 +00:00
zhouwenpei
69305fb48e
Rebuild for next release
Signed-off-by: zhouwenpei <zhouwenpei050@chinasoftinc.com>
2022-10-26 07:30:16 +00:00
openeuler-ci-bot
f78f8802bf
!11 [sync] PR-10: 【轻量级PR】修正changelog中的错误日期
From: @openeuler-sync-bot 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
2022-06-20 10:55:14 +00:00
konglidong
e67d7455ab modify bad date in changelog
(cherry picked from commit 11dd984a6ee8fd47d9f74d148851ec33fe79fcbb)
2022-06-20 17:19:02 +08:00
openeuler-ci-bot
46fe5b94da !8 remove python2-requests-ftp subpackage
From: @jinzhimin369
Reviewed-by: @zengwefeng
Signed-off-by: @zengwefeng
2020-10-30 11:30:42 +08:00
jinzhimin369
050477c161 remove python2-requests-ftp subpackage 2020-10-30 10:49:10 +08:00
openeuler-ci-bot
8455e7e8d1 !3 python-requests-ftp: modify source0 url
From: @chengguipeng_xian
Reviewed-by: @yanan-rock
Signed-off-by: @yanan-rock
2020-09-11 21:00:07 +08:00
chengguipeng_xian
eed73c5467 update python-requests-ftp.spec. 2020-09-10 17:00:08 +08:00
chengguipeng
4e3a1a7284 python-requests-ftp: modify source0 url
Signed-off-by: chengguipeng <chengguipeng1@huawei.com>
2020-09-10 16:25:12 +08:00
openeuler-ci-bot
a596cff709 !2 add yaml file in package
Merge pull request !2 from gaoch_100/master
2020-06-23 16:46:30 +08:00
gaochao_100
3b621bda39 add yaml file in package 2020-06-15 10:12:54 +08:00
3 changed files with 18 additions and 41 deletions

View File

@ -2,21 +2,15 @@
Name: python-requests-ftp
Version: 0.3.1
Release: 15
Release: 18
Summary: FTP Transport Adapter for Requests
License: ASL 2.0
URL: https://github.com/Lukasa/requests-ftp
Source0: https://github.com/Lukasa/requests-ftp/archive/requests-ftp-0.3.1.tar.gz
Source0: https://github.com/Lukasa/requests-ftp/archive/v%{version}.tar.gz
BuildArch: noarch
%if %{with python2}
BuildRequires: python2-devel python2-setuptools
%endif
%if %{with python3}
BuildRequires: python3-devel python3-setuptools
%endif
Patch1: PR28-01-Adding-2-tests-and-updated-statud_code-build.patch
Patch2: PR28-02-Adding-code-3-to-retr4ieve-status_code.patch
@ -27,17 +21,6 @@ Patch5: PR28-05-Improve-logging-in-status-code-extraction.patch
Requests-FTP is an implementation of a very stupid FTP transport adapter
for use with the awesome Requests Python library.
%if %{with python2}
%package -n python2-%{srcname}
Summary: python2 for requests-ftp
Requires: python2-requests
%{?python_provide:%python_provide python2-%{srcname}}
%description -n python2-%{srcname}
python2 for requests-ftp.
%endif
%if %{with python3}
%package -n python3-%{srcname}
Summary: python3 for requests-ftp
Requires: python3-requests
@ -45,7 +28,6 @@ Requires: python3-requests
%description -n python3-%{srcname}
python3 for requests-ftp.
%endif
%package_help
@ -54,42 +36,33 @@ python3 for requests-ftp.
rm -rf requests_ftp.egg-info
%build
%if %{with python2}
%py2_build
%endif
%if %{with python3}
%py3_build
%endif
%install
%if %{with python2}
%py2_install
%endif
%if %{with python3}
%py3_install
%endif
%if %{with python2}
%files -n python2-%{srcname}
%defattr(-,root,root)
%license LICENSE
%{python2_sitelib}/*
%endif
%if %{with python2}
%files -n python3-%{srcname}
%defattr(-,root,root)
%license LICENSE
%{python3_sitelib}/*
%endif
%files help
%defattr(-,root,root)
%doc README.rst
%changelog
* Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 0.3.1-18
- Rebuild for next release
* Fri Oct 30 2020 jinzhimin <jinzhimin2@huawei.com> - 0.3.1-17
- remove python2-requests-ftp subpackage
* Thu Sep 10 2020 chengguipeng<chengguipeng1@huawei.com> - 0.3.1-16
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify source0 url
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.3.1-15
- Type:bugfix
- Id:NA

4
python-requests-ftp.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: Lukasa/requests-ftp
tag_prefix: ^v
seperator: .