Build RPMs for Fedora 25

Disabled hardened build because it makes the linker fail with messages like

  relocation R_X86_64_PC32 against undefined symbol `BZ2_bzWriteOpen' can not be used when making a shared object; recompile with -fPIC

See https://fedoraproject.org/wiki/Changes/Harden_All_Packages.
This commit is contained in:
Eelco Dolstra 2017-02-21 14:26:23 +01:00
parent 99bbddedb1
commit bb6656b8a2
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 6 additions and 4 deletions

View file

@ -1,3 +1,5 @@
%undefine _hardened_build
%global nixbld_user "nix-builder-" %global nixbld_user "nix-builder-"
%global nixbld_group "nixbld" %global nixbld_group "nixbld"

View file

@ -171,8 +171,8 @@ let
}; };
rpm_fedora21i386 = makeRPM_i686 (diskImageFuns: diskImageFuns.fedora21i386) [ "libsodium-devel" ]; rpm_fedora25i386 = makeRPM_i686 (diskImageFuns: diskImageFuns.fedora25i386) [ "libsodium-devel" ];
rpm_fedora21x86_64 = makeRPM_x86_64 (diskImageFunsFun: diskImageFunsFun.fedora21x86_64) [ "libsodium-devel" ]; rpm_fedora25x86_64 = makeRPM_x86_64 (diskImageFunsFun: diskImageFunsFun.fedora25x86_64) [ "libsodium-devel" ];
deb_debian8i386 = makeDeb_i686 (diskImageFuns: diskImageFuns.debian8i386) [ "libsodium-dev" ] [ "libsodium13" ]; deb_debian8i386 = makeDeb_i686 (diskImageFuns: diskImageFuns.debian8i386) [ "libsodium-dev" ] [ "libsodium13" ];
@ -256,8 +256,8 @@ let
deb_debian8x86_64 deb_debian8x86_64
deb_ubuntu1504i386 deb_ubuntu1504i386
deb_ubuntu1504x86_64 deb_ubuntu1504x86_64
rpm_fedora21i386 rpm_fedora25i386
rpm_fedora21x86_64 rpm_fedora25x86_64
tests.remoteBuilds tests.remoteBuilds
tests.nix-copy-closure tests.nix-copy-closure
tests.binaryTarball tests.binaryTarball