Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: python-efl.spec
- ===================================================================
- --- python-efl.spec (révision 1003461)
- +++ python-efl.spec (copie de travail)
- @@ -9,8 +9,8 @@
- Group: Development/Python
- Url: https://launchpad.net/pyliblzma
- Source0: python-%{module}-%{version}.tar.xz
- -BuildRequires: python-devel
- -BuildRequires: python-setuptools
- +BuildRequires: pkgconfig(python2)
- +BuildRequires: pythonegg(2)(setuptools)
- BuildRequires: pkgconfig(dbus-python)
- BuildRequires: pkgconfig(ecore)
- BuildRequires: pkgconfig(elementary)
- @@ -24,7 +24,7 @@
- Summary: Python 3 bindings for the EFL
- Group: Development/Python
- BuildRequires: pkgconfig(python3)
- -BuildRequires: python3-setuptools
- +BuildRequires: pythonegg(3)(setuptools)
- %description -n python3-%{module}
- Python 3 bindings for the EFL library.
- @@ -31,25 +31,18 @@
- %prep
- %setup -q
- -cp -a . %{py3dir}
- %build
- -env CFLAGS="%{optflags}" %{__python} setup.py build
- +%py2_build
- +%py3_build
- -pushd %{py3dir}
- -env CFLAGS="%{optflags}" %{__python3} setup.py build
- -popd
- -
- %install
- -%{__python} setup.py install --root=%{buildroot}
- +%py2_install
- +%py3_install
- -pushd %{py3dir}
- -%{__python3} setup.py install --root=%{buildroot}
- -popd
- -
- %files
- -%{python_sitearch}/efl
- -%{python_sitearch}/python_efl-*.egg-info
- +%{python2_sitearch}/efl
- +%{python2_sitearch}/python_efl-*.egg-info
- %files -n python3-%{module}
- %{python3_sitearch}/efl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement