diff --git a/requests-toolbelt/PKG-INFO b/requests-toolbelt/PKG-INFO new file mode 100644 index 000000000..9160a0438 --- /dev/null +++ b/requests-toolbelt/PKG-INFO @@ -0,0 +1,12 @@ +Metadata-Version: 1.1 +Name: requests-toolbelt +Version: 0.5.1 +Summary: A utility belt for advanced users of python-requests +Home-page: https://toolbelt.readthedocs.org/ +Author: Ian Cordasco, Cory Benfield +License: Apache-2.0 + +Description: A utility belt for advanced users of python-requests + + +Platform: UNKNOWN diff --git a/requests-toolbelt/centos/build_srpm.data b/requests-toolbelt/centos/build_srpm.data new file mode 100644 index 000000000..00dfd30dc --- /dev/null +++ b/requests-toolbelt/centos/build_srpm.data @@ -0,0 +1,7 @@ +VERSION=0.5.1 +TAR_NAME=requests-toolbelt +TAR="$TAR_NAME-$VERSION.tar.gz" +# SRC_DIR="$TAR_NAME-$VERSION" +COPY_LIST="${CGCS_BASE}/downloads/$TAR" + +TIS_PATCH_VER=1 diff --git a/requests-toolbelt/centos/requests-toolbelt.spec b/requests-toolbelt/centos/requests-toolbelt.spec new file mode 100644 index 000000000..bcfd895a3 --- /dev/null +++ b/requests-toolbelt/centos/requests-toolbelt.spec @@ -0,0 +1,43 @@ +Summary: A utility belt for advanced users of python-requests +Name: requests-toolbelt +Version: 0.5.1 +Release: 0%{?_tis_dist}.%{tis_patch_ver} +License: Apache-2.0 +Group: base +Packager: Wind River +URL: https://toolbelt.readthedocs.org/ +Source0: %{name}-%{version}.tar.gz + +%define debug_package %{nil} + +BuildRequires: python-setuptools +Requires: python-devel +Requires: /bin/bash + +%description +A utility belt for advanced users of python-requests + +%define pythonroot /usr/lib64/python2.7/site-packages + +%prep +%setup + +%build +%{__python} setup.py build + +%install +%{__python} setup.py install --root=$RPM_BUILD_ROOT \ + --install-lib=%{pythonroot} \ + --prefix=/usr \ + --install-data=/usr/share \ + --single-version-externally-managed + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc LICENSE +%{pythonroot}/requests_toolbelt +%{pythonroot}/requests_toolbelt-*.egg-info +