f606878396
Add reproducible-clucene.patch to use new clucene function to make index files reproducible (boo#boo#1047218) - Normalize .jar and .zip mtimes with strip-nondeterminism OBS-URL: https://build.opensuse.org/request/show/1189287 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=1179
14 lines
893 B
Diff
14 lines
893 B
Diff
Index: libreoffice-7.0.0.0.beta2/solenv/bin/modules/installer/worker.pm
|
|
===================================================================
|
|
--- libreoffice-7.0.0.0.beta2.orig/solenv/bin/modules/installer/worker.pm
|
|
+++ libreoffice-7.0.0.0.beta2/solenv/bin/modules/installer/worker.pm
|
|
@@ -347,7 +347,7 @@ sub install_simple ($$$$$$)
|
|
`mkdir -p "$destdir$destination"`;
|
|
}
|
|
else {
|
|
- copy ("$sourcepath", "$destdir$destination") || die "Can't copy file: $sourcepath -> $destdir$destination $!";
|
|
+ link ("$sourcepath", "$destdir$destination") || die "Can't hardlink file: $sourcepath -> $destdir$destination $!";
|
|
my $sourcestat = stat($sourcepath);
|
|
utime ($sourcestat->atime, $sourcestat->mtime, "$destdir$destination");
|
|
chmod (oct($unixrights), "$destdir$destination") || die "Can't change permissions: $!";
|