Re: [packages/redis] - up to 2.8.19

2015-03-04 Thread Jeffrey Johnson

On Mar 2, 2015, at 2:04 PM, Elan Ruusamäe wrote:

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

rpm cannot dictate Fascist packaging policies: if you want
to split symlinks and their end points into different builds
and packages, there is no way to detect the flaw.

But personally I'd agree with your expectation, just its
not possible to implement without guessing what was
intended.

73 de Jeff

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


Re: [packages/redis] - up to 2.8.19

2015-03-02 Thread Elan Ruusamäe

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