summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRon Olson <tachoknight@gmail.com>2018-01-19 16:00:15 -0600
committerRon Olson <tachoknight@gmail.com>2018-01-19 16:01:05 -0600
commit20182c40c374f19f758896e90e5b4e5b703c1651 (patch)
tree0e6ccc674cb6cc1e902a2f44b169e64c15b337bc
parent7b2620bff3377e67a0f12f13816eba2b2b4dec11 (diff)
downloadswift-lang-20182c40c374f19f758896e90e5b4e5b703c1651.tar.gz
swift-lang-20182c40c374f19f758896e90e5b4e5b703c1651.tar.xz
swift-lang-20182c40c374f19f758896e90e5b4e5b703c1651.zip
Fixed errors from rpmlint for the main package, still has warnings though. The devel rpm still has rpmlint flagging some things as errors.
-rw-r--r--swift-lang.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/swift-lang.spec b/swift-lang.spec
index 9cde475..ab246b9 100644
--- a/swift-lang.spec
+++ b/swift-lang.spec
@@ -90,12 +90,13 @@ popd
%install
cp -r %{builddir}/* %{buildroot}
rm %{buildroot}/swift-%{version}-fedora.tar.gz
-chmod 0755 %{buildroot}/usr/bin/*
+chmod 0755 %{buildroot}%{_bindir}/*
+chmod 0644 %{buildroot}/usr/share/man/man1/swift.1
%files
%{_bindir}/*
-%{_mandir}/man1/swift.1
-%{_datarootdir}/*
+%{_mandir}/man1/swift.1.gz
+%{_datarootdir}/swift/LICENSE.txt
%files devel
%{_includedir}/*