Split translations into sub-tarballs

https://github.com/fedora-selinux/selinux/issues/43
This commit is contained in:
Petr Lautrbach 2018-08-07 16:56:59 +02:00
parent 0da684cc41
commit 03a027dfaa
3 changed files with 18 additions and 0 deletions

4
.gitignore vendored
View File

@ -276,3 +276,7 @@ policycoreutils-2.0.83.tgz
/selinux-python-2.8.tar.gz
/selinux-sandbox-2.8.tar.gz
/semodule-utils-2.8.tar.gz
/gui-po.tgz
/policycoreutils-po.tgz
/python-po.tgz
/sandbox-po.tgz

View File

@ -31,6 +31,10 @@ Source16: selinux-autorelabel.service
Source17: selinux-autorelabel-mark.service
Source18: selinux-autorelabel.target
Source19: selinux-autorelabel-generator.sh
Source20: policycoreutils-po.tgz
Source21: python-po.tgz
Source22: gui-po.tgz
Source23: sandbox-po.tgz
# download https://raw.githubusercontent.com/fedora-selinux/scripts/master/selinux/make-fedora-selinux-patch.sh
# run:
# HEAD https://github.com/fedora-selinux/selinux/commit/1a1bfe96d5b80d05d0077ea4d6304261834c072d
@ -95,6 +99,12 @@ tar -xvf %{SOURCE14} -C selinux-python-%{version}/sepolicy/
#%%patch5 -p0 -b .semodule-utils
#%%patch6 -p0 -b .restorecond
# Since patches containing translation changes were too big, translations were moved to separate tarballs
# For more information see README.translations
tar -x -f %{SOURCE20} -C policycoreutils-%{version} -z
tar -x -f %{SOURCE21} -C selinux-python-%{version} -z
tar -x -f %{SOURCE22} -C selinux-gui-%{version} -z
tar -x -f %{SOURCE23} -C selinux-sandbox-%{version} -z
%build
%set_build_flags

View File

@ -6,3 +6,7 @@ SHA512 (selinux-gui-2.8.tar.gz) = 616323d0516cda80cdc13b8e66890b2c872695c2765873
SHA512 (selinux-python-2.8.tar.gz) = e695c11122f7f8105b75d1ef98355fd2b82b40d93c2fd9e733dcd95d4d7c392f60b646df81203c43ad2a0e8447f9901083007e1572b78e17368ad2764ffa1aad
SHA512 (selinux-sandbox-2.8.tar.gz) = d86582639d1afc532998c2e94e0cc1fe9f7ce1daaa912a39b1b5dddf52c33965c063abe0cdcbcbe4017d5cbcabe351dcd9861323753dffc755de355b87c821b2
SHA512 (semodule-utils-2.8.tar.gz) = 13d79a22115f5448dafc5202dc3dec66b9ad826051d61d7c126defe823407959511db35713d97c7dfe9e79de96193fec91a10b98c13743e06a1213f5734f4ae7
SHA512 (gui-po.tgz) = 496dcc02b87a695033d5ab3f5f0743998ac6c32d4004df6a38c85a455d35dc09d4d82d5df0292ae63a747921450c1c9b26f275fbafd837495aca49075bff22de
SHA512 (policycoreutils-po.tgz) = 0aefac5853b2cf8a19ff73193edc8093c7de5104cc4193cef4fe4f6a738b4ab8ad065264ab4c98f7045a846a2d865217de0b5912494e5a0451641d66e194c256
SHA512 (python-po.tgz) = e47a919be6a1788e25abe35fea7b3745a077f368d315bf5fc72fbab0aa9c0082f3b10b6ce8869d40c9413a30233e3c044183973650e3ca0506b1e254cbff1495
SHA512 (sandbox-po.tgz) = 28980c3a0d4da6ad4e3052653cfd8166cc415864b52a1f4c87fb44c7cfed011227a65be27297370d68d3871edd25b1d83db26d9c3e7d5c89e781b57abc84cd30