|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
# Basic Information
|
|
# Basic Information
|
|
Name: python-six
|
|
Name: python-six
|
|
-Version: 1.10.0
|
|
|
|
|
|
+Version: 1.11.0
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: MIT
|
|
License: MIT
|
|
# /usr/share/doc/rpm-4.11.2/GROUPS_for_vine.txt を参照して Group を修正してください。
|
|
# /usr/share/doc/rpm-4.11.2/GROUPS_for_vine.txt を参照して Group を修正してください。
|
|
@@ -18,10 +18,15 @@ Packager: yasumichi
|
|
Summary: Python 2 and 3 compatibility utilities
|
|
Summary: Python 2 and 3 compatibility utilities
|
|
Summary(ja): Python 2 および 3 の互換ユーテリティ
|
|
Summary(ja): Python 2 および 3 の互換ユーテリティ
|
|
|
|
|
|
|
|
+BuildArch: noarch
|
|
# Dependency
|
|
# Dependency
|
|
Requires: python
|
|
Requires: python
|
|
-BuildRequires: python-devel
|
|
|
|
-BuildArch: noarch
|
|
|
|
|
|
+BuildRequires: python-devel
|
|
|
|
+BuildRequires: python-setuptools
|
|
|
|
+BuildRequires: python-rpm-macros
|
|
|
|
+BuildRequires: python3-devel
|
|
|
|
+BuildRequires: python3-setuptools
|
|
|
|
+BuildRequires: python3-rpm-macros
|
|
|
|
|
|
%description
|
|
%description
|
|
for smoothing over the differences between the Python versions with the goal of
|
|
for smoothing over the differences between the Python versions with the goal of
|
|
@@ -40,19 +45,42 @@ found there.
|
|
For questions about six or porting in general, email the python-porting mailing
|
|
For questions about six or porting in general, email the python-porting mailing
|
|
list: http://mail.python.org/mailman/listinfo/python-porting
|
|
list: http://mail.python.org/mailman/listinfo/python-porting
|
|
|
|
|
|
|
|
+%package -n python3-six
|
|
|
|
+Summary: Python 2 and 3 compatibility utilities
|
|
|
|
+Summary(ja): Python 2 および 3 の互換ユーテリティ
|
|
|
|
+Requires: python3
|
|
|
|
+
|
|
|
|
+%description -n python3-six
|
|
|
|
+for smoothing over the differences between the Python versions with the goal of
|
|
|
|
+writing Python code that is compatible on both Python versions. See the
|
|
|
|
+documentation for more information on what is provided.
|
|
|
|
+
|
|
|
|
+Six supports every Python version since 2.5. It is contained in only one Python
|
|
|
|
+file, so it can be easily copied into your project. (The copyright and license
|
|
|
|
+notice must be retained.)
|
|
|
|
+
|
|
|
|
+Online documentation is at http://pythonhosted.org/six/.
|
|
|
|
+
|
|
|
|
+Bugs can be reported to http://bitbucket.org/gutworth/six. The code can also be
|
|
|
|
+found there.
|
|
|
|
+
|
|
|
|
+For questions about six or porting in general, email the python-porting mailing
|
|
|
|
+list: http://mail.python.org/mailman/listinfo/python-porting
|
|
|
|
|
|
-#%%description -l ja
|
|
|
|
-#ここに日本語で詳細を記述してください。
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q -n six-%{version}
|
|
%setup -q -n six-%{version}
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
+%py_build
|
|
|
|
+%py3_build
|
|
|
|
+
|
|
%{__python} setup.py build
|
|
%{__python} setup.py build
|
|
|
|
|
|
%install
|
|
%install
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
-%{__python} setup.py install --root=${RPM_BUILD_ROOT}
|
|
|
|
|
|
+%py_install
|
|
|
|
+%py3_install
|
|
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
@@ -61,11 +89,22 @@ list: http://mail.python.org/mailman/listinfo/python-porting
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%doc LICENSE README
|
|
|
|
|
|
+%doc LICENSE README*
|
|
%{python_sitelib}/six-%{version}-py*.egg-info
|
|
%{python_sitelib}/six-%{version}-py*.egg-info
|
|
%{python_sitelib}/six.py*
|
|
%{python_sitelib}/six.py*
|
|
|
|
|
|
|
|
+%files -n python3-six
|
|
|
|
+%defattr(-,root,root)
|
|
|
|
+%doc LICENSE README*
|
|
|
|
+%{python3_sitelib}/six-%{version}-py*.egg-info
|
|
|
|
+%{python3_sitelib}/six.py*
|
|
|
|
+%{python3_sitelib}/__pycache__/six.*
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Jan 31 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.11.0-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- added a subpackage for python3.
|
|
|
|
+
|
|
* Sun Nov 15 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.0-1
|
|
* Sun Nov 15 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.0-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|