[packages/net-snmp] - fix python install - rel 8

baggins baggins at pld-linux.org
Fri Dec 25 22:36:50 CET 2015


commit b166dbc48126f4b71fad7c03c52c28714fd7bfb0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Dec 25 22:36:13 2015 +0100

    - fix python install
    - rel 8

 net-snmp-python.patch | 2 +-
 net-snmp.spec         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/net-snmp.spec b/net-snmp.spec
index 5ff023b..e8dee3f 100644
--- a/net-snmp.spec
+++ b/net-snmp.spec
@@ -26,7 +26,7 @@ Summary(ru.UTF-8):	Набор утилит для протокола SNMP от U
 Summary(uk.UTF-8):	Набір утиліт для протоколу SNMP від UC-Davis
 Name:		net-snmp
 Version:	5.7.3
-Release:	7
+Release:	8
 License:	BSD-like
 Group:		Networking/Daemons
 Source0:	http://downloads.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
diff --git a/net-snmp-python.patch b/net-snmp-python.patch
index 3dc585d..7208ec1 100644
--- a/net-snmp-python.patch
+++ b/net-snmp-python.patch
@@ -5,7 +5,7 @@
  
  pythoninstall:
 -	@(dir=`pwd`; cd python; $(PYMAKE) install --basedir=$$dir) ; \
-+	@(dir=`pwd`; cd python; $(PYMAKE) install --optimize=2 --root=$(DESTDIR) --basedir=$$dir) ; \
++	@(dir=`pwd`; cd python; $(PYMAKE) install --optimize=2 --root=$(DESTDIR) --prefix=$(prefix) --basedir=$$dir) ; \
          if test $$? != 0 ; then \
             exit 1 ; \
          fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/net-snmp.git/commitdiff/b166dbc48126f4b71fad7c03c52c28714fd7bfb0



More information about the pld-cvs-commit mailing list