On 02.03.2015 12:12, arekm wrote:
+# Fix link
+ln -sf %{name}-server $RPM_BUILD_ROOT%{_bindir}/%{name}-sentinel
+
  # Install misc other
  install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
  cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
@@ -157,6 +160,7 @@ fi
  %defattr(644,root,root,755)
  %config(noreplace) %{_sysconfdir}/%{name}.conf
  %attr(754,root,root)/etc/rc.d/init.d/%{name}
+%attr(755,root,root) %{_bindir}/redis-sentinel
  %attr(755,root,root) %{_sbindir}/redis-server
imho you broke the link, files are in different dirs so relative link is broken link

aside: why rpm doesn't complain about this. should complain with a possibility to whitelist by pattern or globally.

--
glen

_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to