diff options
-rw-r--r-- | swift-lang.spec | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/swift-lang.spec b/swift-lang.spec index eed8639..d11f0ef 100644 --- a/swift-lang.spec +++ b/swift-lang.spec @@ -1,3 +1,4 @@ +%global debug_package %{nil} %global sourcename apple-swift %global sourcedir %{_tmppath}/%{sourcename} %global builddir %{sourcedir}/builds @@ -25,6 +26,15 @@ and desktop apps, scaling up to cloud services. Most importantly, Swift is designed to make writing and maintaining correct programs easier for the developer. +%package devel +Summary: Development files for the Swift programming language +Requires: %{name} = %{version}-%{release} + +%description devel +Development files for compiling and statically linking +blocks in a program that uses the Apple blocks +proposed extension. + %prep %setup -n %{sourcename} @@ -36,13 +46,18 @@ cp -r %{builddir}/* %{buildroot} rm %{buildroot}/swift-%{version}-fedora.tar.gz %files +%defattr(-, root, root) %{_bindir}/* -%{_includedir}/* -%{_libdir}/* -%{_usr}/lib/* %{_mandir}/* %{_datarootdir}/* +%files devel +%{_includedir}/* +%{_usr}/lib/* + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + %changelog * Tue Jan 16 2018 Ron Olson <tachoknight@gmail.com> 4.1-1 |