From 93631f13cc93462df0b422d26df281076c4ccefc07cc5ccc431d4d3a574f17dd Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 18 Mar 2016 10:08:27 +0000 Subject: [PATCH] Accepting request 370848 from home:pluskalm:branches:Base:System - Install xznew with correct permissions (boo#970842) OBS-URL: https://build.opensuse.org/request/show/370848 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=83 --- xz.changes | 5 +++++ xz.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/xz.changes b/xz.changes index 7983338..4ce3176 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Mar 13 09:40:51 UTC 2016 - mpluskal@suse.com + +- Install xznew with correct permissions (boo#970842) + ------------------------------------------------------------------- Sun Feb 14 09:21:33 UTC 2016 - tchvatal@suse.com diff --git a/xz.spec b/xz.spec index c7dc3e7..2502f53 100644 --- a/xz.spec +++ b/xz.spec @@ -128,8 +128,8 @@ time make check make DESTDIR=%{buildroot} install %{?_smp_mflags} rm -v %{buildroot}%{_libdir}/liblzma.la %find_lang %{name} -cp -p %{SOURCE4} %{buildroot}%{_bindir} -cp -p %{SOURCE5} %{buildroot}%{_mandir}/man1/ +install -D -m 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew +install -D -m 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1 %post -n liblzma5 -p /sbin/ldconfig %postun -n liblzma5 -p /sbin/ldconfig