Overview

Request 5400 (accepted)

- Add patch to enable "reproducible builds" for this package.

Submit package home:manfred.h / MakeMKV to package Multimedia / MakeMKV

makemkv.changes Changed
x
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Sat Jun  5 09:10:34 UTC 2021 - munix9@googlemail.com
4
+
5
+- Add patch to enable "reproducible builds" for this package.
6
+
7
+-------------------------------------------------------------------
8
 Sat Mar 20 13:23:51 UTC 2021 Manfred Hollstein <manfred.h@gmx.net>
9
 
10
 - Make CC="gcc -fcommon"; for an explanation see
11
makemkv.spec Changed
19
 
1
@@ -35,7 +35,7 @@
2
 Url:            http://www.makemkv.com
3
 Source0:        %{name}-oss-%{version}.tar.gz
4
 Source1:        %{name}-bin-%{version}.tar.gz
5
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
6
+Patch0:         fix-reproducible-builds.patch
7
 Requires:       %{libnamedriveio} = %{version}-%{release}
8
 Requires:       %{libnamemakemkve} = %{version}-%{release}
9
 Requires:       %{libnamemmbd} = %{version}-%{release}
10
@@ -108,7 +108,7 @@
11
 
12
 
13
 %prep
14
-%setup -q -n %{name}-oss-%{version}
15
+%autosetup -n %{name}-oss-%{version} -p1
16
 
17
 %build
18
  export CC="gcc -fcommon"  # see <https://gcc.gnu.org/gcc-10/porting_to.html#common>
19
fix-reproducible-builds.patch Added
13
 
1
@@ -0,0 +1,11 @@
2
+--- a/Makefile.in
3
++++ b/Makefile.in
4
+@@ -27,7 +27,7 @@
5
+ OBJCOPY=@OBJCOPY@
6
+ LD=@LD@
7
+ BUILDINFO_ARCH_NAME=$(shell $(GCC) -dumpmachine)
8
+-BUILDINFO_BUILD_DATE=$(shell date)
9
++BUILDINFO_BUILD_DATE=$(shell date -u -d@$(SOURCE_DATE_EPOCH))
10
+
11
+ top_srcdir ?= .
12
+ INCF=-I$(top_srcdir)/
13
Refresh
Refresh
Request History
manfred.h's avatar

manfred.h created request over 3 years ago

- Add patch to enable "reproducible builds" for this package.


manfred.h's avatar

manfred.h added review over 3 years ago

This change was suggested by munix9@googlemail.com; see e-mail thread at https://lists.links2linux.de/pipermail/packman/2021-May/016738.html Test builds were successful in my home repo for Leap 15.2, 15.3 and Tumbleweed. LGTM


Grozdan's avatar

microchip8 accepted request over 3 years ago

Looks good to me