Disable debugsource packages - see comment in spec.
This commit is contained in:
parent
739181cf16
commit
269c527620
@ -9,3 +9,14 @@
|
|||||||
|
|
||||||
# For the development, -warn-error A is turned on
|
# For the development, -warn-error A is turned on
|
||||||
if $(file-exists DEV)
|
if $(file-exists DEV)
|
||||||
|
--- camlspotter-camlimages-13777ef409e7/OMyMakeroot.old 2017-08-09 12:38:11.026148848 +0100
|
||||||
|
+++ camlspotter-camlimages-13777ef409e7/OMyMakeroot 2017-08-09 12:38:20.812149472 +0100
|
||||||
|
@@ -133,7 +133,7 @@
|
||||||
|
OCamlMkLibC(name, files, ldflags) =
|
||||||
|
protected.COBJS=$(addsuffix .o, $(files))
|
||||||
|
dll$(name).so lib$(name).a: $(COBJS)
|
||||||
|
- $(OCAMLMKLIB) -o $(name) $(LDFLAGS) $(ldflags) $(COBJS)
|
||||||
|
+ $(OCAMLMKLIB) -g -o $(name) $(LDFLAGS) $(ldflags) $(COBJS)
|
||||||
|
return $(array dll$(name).so, lib$(name).a)
|
||||||
|
|
||||||
|
# If ocamlmklib does not work for you, you can do:
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
# XXX This indicates a bug somewhere. We are not passing the -g flag
|
||||||
|
# through when creating the libraries. However I cannot see exactly
|
||||||
|
# what is wrong.
|
||||||
|
%undefine _debugsource_packages
|
||||||
|
|
||||||
Name: ocaml-camlimages
|
Name: ocaml-camlimages
|
||||||
Version: 4.2.4
|
Version: 4.2.4
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
@ -49,7 +54,7 @@ Includes documentation provided by ocamldoc
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
omake CFLAGS="$RPM_OPT_FLAGS"
|
omake CFLAGS="$RPM_OPT_FLAGS" --verbose
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# These rules work if the library uses 'ocamlfind install' to install itself.
|
# These rules work if the library uses 'ocamlfind install' to install itself.
|
||||||
|
Loading…
Reference in New Issue
Block a user