Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove patch for symlink and force them through makefile options instead #1606

Merged
1 commit merged into from Jun 5, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
53 changes: 0 additions & 53 deletions git-1.8.3.1-no-symlink.patch

This file was deleted.

9 changes: 5 additions & 4 deletions git.spec
Expand Up @@ -5,13 +5,13 @@
## INITENV SET GIT_SSL_CAINFO %{i}/share/ssl/certs/ca-bundle.crt
## INITENV SET GIT_EXEC_PATH %{i}/libexec/git-core


%define isDarwin %(case %{cmsos} in (osx*) echo 1 ;; (*) echo 0 ;; esac)
%define isNotDarwin %(case %{cmsos} in (osx*) echo 0 ;; (*) echo 1 ;; esac)
%define isSlc %(case %{cmsos} in (slc*) echo 1 ;; (*) echo 0 ;; esac)

Source0: https://github.com/git/git/archive/v%{realversion}.tar.gz
Patch1: git-1.8.3.1-no-symlink
Patch2: git-1.8.3.1-runtime
Patch0: git-1.8.3.1-runtime

%define curl_tag curl-7_31_0
Source1: https://raw.github.com/bagder/curl/%{curl_tag}/lib/mk-ca-bundle.pl
Expand All @@ -36,8 +36,7 @@ Provides: perl(Time::HiRes)

%prep
%setup -b 0 -n %{n}-%{realversion}
%patch1 -p1
%patch2 -p1
%patch0 -p1

%build
make prefix=%{i} \
Expand Down Expand Up @@ -86,6 +85,8 @@ make prefix=%{i} \
NO_PYTHON=1 \
RUNTIME_PREFIX=1 \
V=1 \
NO_CROSS_DIRECTORY_HARDLINKS=1 \
NO_INSTALL_HARDLINKS=1 \
%{makeprocesses} \
install

Expand Down