summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRon Olson <tachoknight@gmail.com>2018-04-17 15:47:42 -0500
committerRon Olson <tachoknight@gmail.com>2018-04-17 15:47:42 -0500
commitcca895099123026d09a8bafc6624418cbc9c2f59 (patch)
tree3def6b366d8b6e28c52cf83dde97166822fc227a
parentc9ecb2d1f412d32fd082a760293152a18cddf7ff (diff)
downloadswift-lang-cca895099123026d09a8bafc6624418cbc9c2f59.tar.gz
swift-lang-cca895099123026d09a8bafc6624418cbc9c2f59.tar.xz
swift-lang-cca895099123026d09a8bafc6624418cbc9c2f59.zip
Realized I was basing the license file off the wrong location; the license installation works now
-rw-r--r--swift-lang.spec4
1 files changed, 1 insertions, 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}/*