Skip to content

Commit 13fda8d

Browse files
authored
Merge pull request git-lfs#1676 from git-lfs/rpm-rename
rpm: build Git LFS in the right directory
2 parents c9ea1be + ac9abfa commit 13fda8d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rpm/SPECS/git-lfs.spec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ Enterprise.
2525
%prep
2626
%setup -q -n %{name}-%{version}
2727
export GOPATH=`pwd`
28-
mkdir -p src/github.com/github
29-
ln -s $(pwd) src/github.com/github/%{name}
28+
mkdir -p src/github.com/git-lfs
29+
ln -s $(pwd) src/github.com/git-lfs/%{name}
3030

3131
%build
3232
%if 0%{?rhel} == 5
3333
export CGO_ENABLED=0
3434
%endif
3535

36-
pushd src/github.com/github/%{name}
36+
pushd src/github.com/git-lfs/%{name}
3737
%if %{_arch} == i386
3838
GOARCH=386 ./script/bootstrap
3939
%else
@@ -65,7 +65,7 @@ export GIT_LFS_TEST_DIR=$(mktemp -d)
6565
# skip it.
6666
export SKIPAPITESTCOMPILE=1
6767

68-
pushd src/github.com/github/%{name}
68+
pushd src/github.com/git-lfs/%{name}
6969
./script/test
7070
./script/integration
7171
popd

0 commit comments

Comments
 (0)