|
|
@ -6,58 +6,37 @@ License: GPLv2
|
|
|
|
URL: https://github.com/Zyzyx/%{name}
|
|
|
|
URL: https://github.com/Zyzyx/%{name}
|
|
|
|
Source0: https://github.com/Zyzyx/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
Source0: https://github.com/Zyzyx/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: python-devel
|
|
|
|
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
|
|
|
|
Summary: Python library for determining if a package is multilib enabled
|
|
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
%description
|
|
|
|
A Python module that supports several multilib "methods" useful for determining \
|
|
|
|
A Python module that supports several multilib "methods" useful for determining \
|
|
|
|
if a 32-bit package should be included with its 64-bit analogue in a compose.
|
|
|
|
if a 32-bit package should be included with its 64-bit analogue in a compose.
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python2-multilib
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
|
|
|
BuildRequires: python2-setuptools
|
|
|
|
|
|
|
|
%{?python_provide:%python_provide python2-multilib}
|
|
|
|
|
|
|
|
%description -n python2-multilib %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-multilib
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
%{?python_provide:%python_provide python3-multilib}
|
|
|
|
|
|
|
|
%description -n python3-multilib %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%py2_build
|
|
|
|
%{__python} setup.py build
|
|
|
|
#py3_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%py2_install
|
|
|
|
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
|
#py3_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# testing requires complete composes available locally, which no buildsystem
|
|
|
|
# testing requires complete composes available locally, which no buildsystem
|
|
|
|
# would ever want included in a build root
|
|
|
|
# would ever want included in a build root
|
|
|
|
#{__python2} setup.py test
|
|
|
|
|
|
|
|
#{__python3} setup.py test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python2-multilib
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
%{python2_sitelib}/*
|
|
|
|
%{python_sitelib}/*
|
|
|
|
%config(noreplace) %{_sysconfdir}/multilib.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/multilib.conf
|
|
|
|
|
|
|
|
|
|
|
|
#files -n python3-multilib
|
|
|
|
|
|
|
|
#license LICENSE
|
|
|
|
|
|
|
|
#doc README.md
|
|
|
|
|
|
|
|
#{python3_sitelib}/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon May 10 2016 Jay Greguske <jgregusk@redhat.com> - 1.1-4
|
|
|
|
|
|
|
|
- EPEL 7 related changes to packaging
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 07 2016 Dennis Gilmore <dennis@ausil.us> - 1.1-2
|
|
|
|
* Thu Apr 07 2016 Dennis Gilmore <dennis@ausil.us> - 1.1-2
|
|
|
|
- setup to make python3 down the road.
|
|
|
|
- setup to make python3 down the road.
|
|
|
|
- spec and srpm named python-multilib
|
|
|
|
- spec and srpm named python-multilib
|
|
|
|