Created
November 15, 2018 16:40
-
-
Save ianballou/ad2264b9a93fe7d42b7ae0cb04830566 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%define name m2 | |
%define version 0.6.1 | |
%define unmangled_version 0.6.1 | |
%define unmangled_version 0.6.1 | |
%define release 1 | |
Summary: UNKNOWN | |
Name: %{name} | |
Version: %{version} | |
Release: %{release} | |
Source0: %{name}-%{unmangled_version}.tar.gz | |
License: UNKNOWN | |
Group: Development/Libraries | |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot | |
Prefix: %{_prefix} | |
BuildArch: noarch | |
Vendor: UNKNOWN <UNKNOWN> | |
Packager: Ian Ballou <[email protected]> | |
Requires: python(abi) = 2.7 python-pyro >= 4.41 python-requests python-flask python-sqlalchemy >= 1.0.13 python-click python-prettytable python-sh | |
Requires: python2-selectors34 | |
BuildRequires: python(abi) = 2.7 | |
%description | |
UNKNOWN | |
%prep | |
%setup -q -n %{name} -n %{name} | |
%build | |
`which python` setup.py build | |
%install | |
`which python` setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES | |
%clean | |
rm -rf $RPM_BUILD_ROOT | |
%files -f INSTALLED_FILES | |
%defattr(-,root,root) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment