Accepting request 174653 from devel:tools:scm

- Create links from %{gitexecdir}/git instead of %{gitexecdir}/git-add (forwarded request 174649 from AndreasSchwab)

OBS-URL: https://build.opensuse.org/request/show/174653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=112
This commit is contained in:
Stephan Kulow 2013-05-07 05:21:28 +00:00 committed by Git OBS Bridge
parent 227b6b0993
commit 89f562b4f6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 6 14:37:58 UTC 2013 - schwab@linux-m68k.org
- Create links from %{gitexecdir}/git instead of %{gitexecdir}/git-add
------------------------------------------------------------------- -------------------------------------------------------------------
Sun May 5 05:17:32 UTC 2013 - douglarek@outlook.com Sun May 5 05:17:32 UTC 2013 - douglarek@outlook.com

View File

@ -261,7 +261,7 @@ install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/etc/apparmor.d
# create predictable symlinks to make apparmor profile work # create predictable symlinks to make apparmor profile work
for i in git git-upload-archive git-receive-pack; do for i in git git-upload-archive git-receive-pack; do
rm $RPM_BUILD_ROOT%{_bindir}/$i rm $RPM_BUILD_ROOT%{_bindir}/$i
ln -s %{gitexecdir}/git-add $RPM_BUILD_ROOT%{_bindir}/$i ln -s %{gitexecdir}/git $RPM_BUILD_ROOT%{_bindir}/$i
done done
if ! test -f $RPM_BUILD_ROOT%{gitexecdir}/git-add; then if ! test -f $RPM_BUILD_ROOT%{gitexecdir}/git-add; then
echo "git-add is not a regular file, apparmor profile won't work!" >&2 echo "git-add is not a regular file, apparmor profile won't work!" >&2