From cca895099123026d09a8bafc6624418cbc9c2f59 Mon Sep 17 00:00:00 2001 From: Ron Olson Date: Tue, 17 Apr 2018 15:47:42 -0500 Subject: Realized I was basing the license file off the wrong location; the license installation works now --- swift-lang.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/swift-lang.spec b/swift-lang.spec index 29f0cee..d6ec66f 100644 --- a/swift-lang.spec +++ b/swift-lang.spec @@ -91,8 +91,6 @@ mv ninja-1.7.2 ninja # as the swift executable (i.e. /usr/bin). %patch0 -p0 -# And copy our license file so the macro can find it later -cp swift/LICENSE.txt %{_builddir} %build export VERBOSE=1 @@ -158,7 +156,7 @@ install -m 0644 %{_builddir}/usr/share/man/man1/swift.1 %{buildroot}%{_mandir}/m %files -%license LICENSE.txt +%license swift/LICENSE.txt %{_bindir}/swift* %{_mandir}/man1/* %{_includedir}/* -- cgit