Skip to content

Instantly share code, notes, and snippets.

@Sammers21
Created August 23, 2017 11:01
Show Gist options
  • Save Sammers21/e656c0229e262bec9ce4f19c7fe142b6 to your computer and use it in GitHub Desktop.
Save Sammers21/e656c0229e262bec9ce4f19c7fe142b6 to your computer and use it in GitHub Desktop.
%define module mymodule
Summary: multidict implementation
Name: python-%{module}
Version: 3.1.4a3
Release: 1
License: Apache 2
Group: Development/Python
Url: https://github.com/aio-libs/multidict/
Source0: https://pypi.python.org/packages/37/e3/f7fe70024be82c628fbe0a3e43aad114dc0eba6f11d4580e6955
34350f675/multidict-3.1.4a3.tar.gz#md5=5b45e3d427a870c364ed2b21bfc02ee2
BuildRequires: python-devel pythonegg(setuptools)
%description
=========
multidict
========
1.0.3 (2016-03-24)
------------------
* Add missing MANIFEST.in
1.0.2 (2016-03-24)
------------------
* Fix setup build
1.0.0 (2016-02-19)
------------------
* Initial implementation
%prep
%setup -q -n multidict-%{version}
%build
python setup.py build
%install
PYTHONDONTWRITEBYTECODE=1 python setup.py install --root=%{buildroot} --record=FILELIST
# For safety - avoid "file listed twice" error
sed -i 's/.*egg-info$//' FILELIST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment