Skip to content

Commit

Permalink
hack tmppath macro
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Aug 24, 2015
1 parent 73f3539 commit 18532f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fpm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Group: Development/Languages
Source0: http://rubygems.org/downloads/%{name}-%{version}.gem
# Source0-md5: 4d82b0484db150928330b04bb44c92a2
Patch0: templates.patch
Patch1: tmppath.patch
URL: https://github.com/jordansissel/fpm
BuildRequires: rpm-rubyprov
BuildRequires: rpmbuild(macros) >= 1.665
Expand Down Expand Up @@ -45,6 +46,7 @@ wasting pointless hours debugging bad rpm specs!
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*

# cleanup backups after patching
Expand Down

0 comments on commit 18532f9

Please sign in to comment.