diff options
author | Thomas Spura <thomas.spura@gmail.com> | 2013-11-05 09:53:12 +0100 |
---|---|---|
committer | Thomas Spura <thomas.spura@gmail.com> | 2013-11-12 18:21:55 +0100 |
commit | 7d31dba8d9ec25a8c05b9abf2857fb602402f74d (patch) | |
tree | 68169d9e0fec09c686d3acb059e67cff0175812c | |
parent | 0e20a2f02aa2b7772b9857152c6c8bd517924ecf (diff) | |
download | python-pexpect-7d31dba8d9ec25a8c05b9abf2857fb602402f74d.tar.gz python-pexpect-7d31dba8d9ec25a8c05b9abf2857fb602402f74d.tar.xz python-pexpect-7d31dba8d9ec25a8c05b9abf2857fb602402f74d.zip |
be more explicit in %%files and remove CFLAGS
-rw-r--r-- | python-pexpect.spec | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/python-pexpect.spec b/python-pexpect.spec index 0d57435..613cdf0 100644 --- a/python-pexpect.spec +++ b/python-pexpect.spec @@ -77,7 +77,7 @@ find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' %if 0%{?with_python3} pushd %{py3dir} -CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build +%{__python3} setup.py build popd %endif # with_python3 @@ -121,13 +121,18 @@ rm -rf %{buildroot} %files %defattr(-,root,root) %doc doc examples LICENSE -%{python_sitelib}/* +%{python_sitelib}/*.py* +%{python_sitelib}/pexpect/ +%{python_sitelib}/pexpect-%{version}%{?relcand}-py?.?.egg-info %exclude %{python_sitelib}/pexpect/tests/ %if 0%{?with_python3} %files -n python3-pexpect %doc doc examples LICENSE -%{python3_sitelib}/* +%{python3_sitelib}/*.py +%{python3_sitelib}/__pycache__/* +%{python3_sitelib}/pexpect/ +%{python3_sitelib}/pexpect-%{version}%{?relcand}-py?.?.egg-info %exclude %{python3_sitelib}/pexpect/tests/ %endif # with_python3 @@ -137,6 +142,8 @@ rm -rf %{buildroot} - update to rc3 - build on noarch again - consistently use %%{buildroot} everywhere +- be more explicit in %%files +- remove CFLAGS * Thu Sep 05 2013 Andrew McNabb <amcnabb@mcnabbs.org> - 2.5.1-11 - Fix the name of the arm architecture in ExcludeArch |