- replace references to /usr with %%{_prefix}; replace references to

/usr/include with %%{_includedir} (Toshio)
This commit is contained in:
dmalcolm 2010-01-13 22:33:42 +00:00
parent a3483f912e
commit 37de6741fa
1 changed files with 9 additions and 5 deletions

View File

@ -24,7 +24,7 @@
Summary: Version 3 of the Python programming language aka Python 3000 Summary: Version 3 of the Python programming language aka Python 3000
Name: python3 Name: python3
Version: %{pybasever}.1 Version: %{pybasever}.1
Release: 13%{?dist} Release: 14%{?dist}
License: Python License: Python
Group: Development/Languages Group: Development/Languages
Source: http://python.org/ftp/python/%{version}/Python-%{version}.tar.bz2 Source: http://python.org/ftp/python/%{version}/Python-%{version}.tar.bz2
@ -412,8 +412,8 @@ rm -fr $RPM_BUILD_ROOT
%{pylibdir}/xml %{pylibdir}/xml
%{pylibdir}/xmlrpc %{pylibdir}/xmlrpc
%if "%{_lib}" == "lib64" %if "%{_lib}" == "lib64"
%attr(0755,root,root) %dir /usr/lib/python%{pybasever} %attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}
%attr(0755,root,root) %dir /usr/lib/python%{pybasever}/site-packages %attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}/site-packages
%endif %endif
# "Makefile" and the config-32/64.h file are needed by # "Makefile" and the config-32/64.h file are needed by
@ -421,8 +421,8 @@ rm -fr $RPM_BUILD_ROOT
# package, along with their parent directories (bug 531901): # package, along with their parent directories (bug 531901):
%dir %{pylibdir}/config %dir %{pylibdir}/config
%{pylibdir}/config/Makefile %{pylibdir}/config/Makefile
%dir /usr/include/python%{pybasever} %dir %{_includedir}/python%{pybasever}
/usr/include/python%{pybasever}/%{_pyconfig_h} %{_includedir}/python%{pybasever}/%{_pyconfig_h}
%files libs %files libs
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -476,6 +476,10 @@ rm -fr $RPM_BUILD_ROOT
%{pylibdir}/tkinter/test %{pylibdir}/tkinter/test
%changelog %changelog
* Wed Jan 13 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-14
- replace references to /usr with %%{_prefix}; replace references to
/usr/include with %%{_includedir} (Toshio)
* Mon Jan 11 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-13 * Mon Jan 11 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-13
- fix permission on find-provides-without-python-sonames.sh from 775 to 755 - fix permission on find-provides-without-python-sonames.sh from 775 to 755