https://bugzilla.redhat.com/show_bug.cgi?id=1295115
Zbigniew Jędrzejewski-Szmek zbyszek@in.waw.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zbyszek@in.waw.pl
--- Comment #15 from Zbigniew Jędrzejewski-Szmek zbyszek@in.waw.pl --- URLs should use https (not http) if possible. Both swift.org and github.com support https.
You should define a macro with the common parameters to build commands: %global buildcmd \ -swift/utils/build-script \ --assertions \ --no-swift-stdlib-assertions \ --llbuild --swiftpm \ --xctest ... \ --reconfigure
and then use it instead of the common part in %build, %check, %install.
%files lldb ... %{python2_sitelib}/readline.so
This looks very wrong. swift should be be installing a file with a name of an existing python module. It should also not be installing a binary file in a non-arched directory.
For the other .so files: usually the versioned libraries (*.so.*) are packaged in the library subpackage (swift-lang-lldb in this case), and the versionless .so link is packaged in the devel subpackage (swift-lang-lldb-devel) in this case.