commit b3b691158214a073d2ed02784ff0393411009e10
Author: Jan RÄ™korajski <[email protected]>
Date:   Thu Feb 27 19:05:37 2014 +0100

    - install MIB in a directory we provide and expect
    - rel 2

 corosync.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/corosync.spec b/corosync.spec
index ed2945f..2fc4359 100644
--- a/corosync.spec
+++ b/corosync.spec
@@ -15,7 +15,7 @@ Summary:      Corosync - OSI Certified implementation of a 
complete cluster engine
 Summary(pl.UTF-8):     Corosync - implementacja silnika klastrowego 
certyfikowana przez OSI
 Name:          corosync
 Version:       2.3.2
-Release:       1
+Release:       2
 License:       BSD
 Group:         Base
 Source0:       http://corosync.org/download/%{name}-%{version}.tar.gz
@@ -156,6 +156,7 @@ install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/etc/sysconfig}
 install -d $RPM_BUILD_ROOT/var/log/cluster
 
 %{__make} install \
+       mibdir=%{_datadir}/mibs \
        DESTDIR=$RPM_BUILD_ROOT
 
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/corosync
@@ -330,5 +331,5 @@ fi
 %if %{with snmp}
 %files -n mibs-corosync
 %defattr(644,root,root,755)
-%{_datadir}/snmp/mibs/COROSYNC-MIB.txt
+%{_datadir}/mibs/COROSYNC-MIB.txt
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/corosync.git/commitdiff/b3b691158214a073d2ed02784ff0393411009e10

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to