summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRon Olson <tachoknight@gmail.com>2018-01-20 14:12:35 -0600
committerRon Olson <tachoknight@gmail.com>2018-01-20 14:12:35 -0600
commitde5bda6e837d38abd2682cd610619c526e539297 (patch)
treeac45ce0391b2759bcf0f9f06bcc6eb5bfb9ae3a6
parent20182c40c374f19f758896e90e5b4e5b703c1651 (diff)
downloadswift-lang-de5bda6e837d38abd2682cd610619c526e539297.tar.gz
swift-lang-de5bda6e837d38abd2682cd610619c526e539297.tar.xz
swift-lang-de5bda6e837d38abd2682cd610619c526e539297.zip
Changed release version per packaging guidelines at https://fedoraproject.org/wiki/Packaging:Versioning
-rw-r--r--swift-lang.spec18
1 files changed, 3 insertions, 15 deletions
diff --git a/swift-lang.spec b/swift-lang.spec
index ab246b9..dd612b3 100644
--- a/swift-lang.spec
+++ b/swift-lang.spec
@@ -4,8 +4,8 @@
%global builddir %{sourcedir}/builds
%global swifttag DEVELOPMENT-SNAPSHOT-2018-01-17-a
Name: swift-lang
-Version: 4.1_DEV
-Release: 1%{?dist}
+Version: 4.1
+Release: 0.20180117git1381d08%{?dist}
Summary: Apple's Swift programming language
License: ASL 2.0
URL: https://swift.org
@@ -23,7 +23,7 @@ Source10: https://github.com/apple/swift-llbuild/archive/swift-%{swifttag}
Source11: https://github.com/apple/swift-cmark/archive/swift-%{swifttag}.tar.gz#/cmark.tar.gz
Source12: https://github.com/apple/swift-xcode-playground-support/archive/swift-%{swifttag}.tar.gz#/swift-xcode-playground-support.tar.gz
Source13: https://github.com/ninja-build/ninja/archive/v1.7.2.tar.gz#/ninja.tar.gz
-BuildRequires: clang,libicu-devel,gcc-c++,cmake,libuuid-devel,libedit-devel,swig,pkgconfig,libbsd-devel,libxml2-devel,libsqlite3x-devel,python-devel,ninja-build
+BuildRequires: clang,libicu-devel,gcc-c++,cmake,libuuid-devel,libedit-devel,swig,pkgconfig,libbsd-devel,libxml2-devel,libsqlite3x-devel,python-devel,libblocksruntime-static
%description
Swift is a general-purpose programming language built using
@@ -36,15 +36,6 @@ 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
rm -rf %{sourcedir}
mkdir -p %{sourcedir}
@@ -97,15 +88,12 @@ chmod 0644 %{buildroot}/usr/share/man/man1/swift.1
%{_bindir}/*
%{_mandir}/man1/swift.1.gz
%{_datarootdir}/swift/LICENSE.txt
-
-%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_DEV-1
- Initial package for Fedora