- Use %{python_sitearch} instead of %{python_sitelib} (for x86_64)
This commit is contained in:
parent
65d35d10e7
commit
869f79ba0c
@ -1,9 +1,8 @@
|
||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
Name: python-enchant
|
||||
Version: 1.1.3
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Python bindings for Enchant spellchecking library
|
||||
|
||||
Group: Development/Languages
|
||||
@ -42,22 +41,22 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE.txt README.txt
|
||||
# First the architecture-independent files
|
||||
%dir %{python_sitelib}/enchant
|
||||
%dir %{python_sitelib}/enchant/checker
|
||||
%dir %{python_sitelib}/enchant/tokenize
|
||||
%{python_sitelib}/enchant/*.py
|
||||
%{python_sitelib}/enchant/*.pyc
|
||||
%ghost %{python_sitelib}/enchant/*.pyo
|
||||
%{python_sitelib}/enchant/*/*.py
|
||||
%{python_sitelib}/enchant/*/*.pyc
|
||||
%ghost %{python_sitelib}/enchant/*/*.pyo
|
||||
# Now the architecture-specific files
|
||||
%dir %{python_sitearch}/enchant
|
||||
%dir %{python_sitearch}/enchant/checker
|
||||
%dir %{python_sitearch}/enchant/tokenize
|
||||
%{python_sitearch}/enchant/*.py
|
||||
%{python_sitearch}/enchant/*.pyc
|
||||
%ghost %{python_sitearch}/enchant/*.pyo
|
||||
%{python_sitearch}/enchant/*/*.py
|
||||
%{python_sitearch}/enchant/*/*.pyc
|
||||
%ghost %{python_sitearch}/enchant/*/*.pyo
|
||||
%{python_sitearch}/enchant/_enchant.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.3-3
|
||||
- Use %%{python_sitearch} instead of %%{python_sitelib} (for x86_64)
|
||||
|
||||
* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.3-2
|
||||
- Remove %%{enchant_dir} macro
|
||||
- Add %%dir for architecture-specific directory
|
||||
|
Loading…
Reference in New Issue
Block a user