]> git.pld-linux.org Git - packages/corosync.git/commitdiff
- install MIB in a directory we provide and expect auto/th/corosync-2.3.2-2
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 27 Feb 2014 18:05:37 +0000 (19:05 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 27 Feb 2014 18:05:37 +0000 (19:05 +0100)
- rel 2

corosync.spec

index ed2945fe15f7b00b28d5be559d9451379c02eb3e..2fc435986ba71c5293ed6747b934bb65a99012ec 100644 (file)
@@ -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
This page took 0.094881 seconds and 4 git commands to generate.