[projects/template-specs] cosmetics
glen
glen at pld-linux.org
Fri May 27 15:05:39 CEST 2016
commit 4b3a552a816563ae2d72de64aaded4109026fb53
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri May 27 16:05:37 2016 +0300
cosmetics
python-ext.spec | 3 ---
ruby.spec | 2 +-
2 files changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/python-ext.spec b/python-ext.spec
index 2683307..558664e 100644
--- a/python-ext.spec
+++ b/python-ext.spec
@@ -86,7 +86,6 @@ rm -rf _build/html/_sources
%install
rm -rf $RPM_BUILD_ROOT
-
%if %{with python2}
%py_install
%py_postclean
@@ -118,9 +117,7 @@ rm -rf $RPM_BUILD_ROOT
%dir %{py_sitedir}/%{module}
%{py_sitedir}/%{module}/*.py[co]
%attr(755,root,root) %{py_sitedir}/%{module}/*.so
-%if "%{py_ver}" > "2.4"
%{py_sitedir}/%{module}-%{version}-py*.egg-info
-%endif
%{_examplesdir}/%{name}-%{version}
%endif
diff --git a/ruby.spec b/ruby.spec
index 2ba27c8..8c3186f 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -112,7 +112,7 @@ cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
# install ext
install -d $RPM_BUILD_ROOT%{ruby_vendorarchdir}
-install -p ext/ruby_http_parser/ruby_http_parser.so $RPM_BUILD_ROOT%{ruby_vendorarchdir}
+install -p ext/%{pkgname}/*.so $RPM_BUILD_ROOT%{ruby_vendorarchdir}
# install examples
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/4b3a552a816563ae2d72de64aaded4109026fb53
More information about the pld-cvs-commit
mailing list