[packages/adapter: 616/631] fix some fedora packages
glen
glen at pld-linux.org
Mon Sep 12 20:26:04 CEST 2016
commit 2a43e329b13b11e78f591d8ecbc4fa3b89fd7333
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Dec 19 02:54:17 2015 +0200
fix some fedora packages
adapter.awk | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index ad9f980..f84aed4 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1160,6 +1160,10 @@ function use_macros()
sub("%{_datadir}/doc", "%{_docdir}")
sub("%{_bindir}/perl", "%{__perl}")
sub("%{_bindir}/python", "%{__python}")
+ sub("%{__python2}", "%{__python}")
+
+ sub("%py2_build", "%py_build")
+ sub("%py2_install", "%py_install")
gsub(infodir, "%{_infodir}")
@@ -1531,6 +1535,7 @@ function use_files_macros( i, n, t, a, l)
}
sub("^%doc %{_mandir}", "%{_mandir}")
+ sub("^%license", "%doc")
gsub("^%{_sbindir}", "%attr(755,root,root) %{_sbindir}")
gsub("^%{_bindir}", "%attr(755,root,root) %{_bindir}")
@@ -2419,6 +2424,7 @@ function replace_requires(field, pkg) {
sub(/^python-enchant$/, "python-pyenchant", $2)
sub(/^python-imaging$/, "python-PIL", $2)
sub(/^python-imaging-tk$/, "python-PIL-tk", $2)
+ sub(/^python-ndg_httpsclient$/, "python-ndg-httpsclient", $2)
sub(/^python-newt$/, "python-snack", $2)
sub(/^python-pygtk$/, "python-pygtk-gtk", $2)
sub(/^python-recaptcha-client$/, "python-recaptcha", $2)
@@ -2432,6 +2438,8 @@ function replace_requires(field, pkg) {
sub(/^python-uuid$/, "python-modules", $2)
sub(/^python-xlib$/, "python-Xlib", $2)
sub(/^python-zope-interface$/, "Zope-Interface", $2)
+ sub(/^python-zope.component$/, "Zope-Component", $2)
+ sub(/^python-zope.interface$/, "Zope-Interface", $2)
sub(/^python2-devel$/, "python-devel", $2)
sub(/^pytz$/, "python-pytz", $2)
sub(/^pyxdg$/, "python-pyxdg", $2)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list