]> git.pld-linux.org Git - packages/python.git/commitdiff
let python-devel R python-modules for the simplicity of BR deps
authorElan Ruusamäe <glen@delfi.ee>
Sat, 14 Jun 2014 21:14:41 +0000 (00:14 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 14 Jun 2014 21:14:41 +0000 (00:14 +0300)
python.spec

index 1e2516f04f90013b4b92eaed30add2906b584325..319adee9597db14ce6abb04534b956e7e047c0b4 100644 (file)
@@ -43,7 +43,7 @@ Summary(tr.UTF-8):    X arayüzlü, yüksek düzeyli, kabuk yorumlayıcı dili
 Summary(uk.UTF-8):     Мова програмування дуже високого рівня з X-інтерфейсом
 Name:          python
 Version:       %{py_ver}.7
-Release:       1
+Release:       2
 Epoch:         1
 License:       PSF
 Group:         Development/Languages/Python
@@ -307,6 +307,7 @@ Summary(tr.UTF-8):  Python ile geliştirme yapmak için gerekli dosyalar
 Summary(uk.UTF-8):     Бібліотеки та хедери для програмування на мові Python
 Group:         Development/Languages/Python
 Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
+Requires:      %{name}-modules = %{epoch}:%{version}-%{release}
 Obsoletes:     python2-devel
 
 %description devel
@@ -641,10 +642,10 @@ ln -sf python-doc-%{version} $RPM_BUILD_ROOT%{_docdir}/python-doc
 
 %if %{with info}
 %{__make} -C Doc/info
-install Doc/info/python*info* $RPM_BUILD_ROOT%{_infodir}
+cp -p Doc/info/python*info* $RPM_BUILD_ROOT%{_infodir}
 %endif
 
-install Makefile.pre.in $RPM_BUILD_ROOT%{py_libdir}/config
+cp -p Makefile.pre.in $RPM_BUILD_ROOT%{py_libdir}/config
 
 mv $RPM_BUILD_ROOT{%{py_libdir}/config,%{_libdir}}/libpython%{py_ver}.a
 ln -sf libpython%{py_ver}.a $RPM_BUILD_ROOT%{_libdir}/libpython.a
@@ -1032,6 +1033,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_examplesdir}/%{name}-%{version}
 
 %files test
+%defattr(644,root,root,755)
 %{py_scriptdir}/test
 %{py_scriptdir}/bsddb/test
 %{py_scriptdir}/ctypes/test
This page took 0.071104 seconds and 4 git commands to generate.