Include source files in -debuginfo
This commit is contained in:
parent
aa4be47c15
commit
6f1b4a5202
@ -5,12 +5,14 @@
|
|||||||
|
|
||||||
Name: ocaml-xmlm
|
Name: ocaml-xmlm
|
||||||
Version: 1.2.0
|
Version: 1.2.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A streaming XML codec
|
Summary: A streaming XML codec
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://erratique.ch/software/xmlm
|
URL: http://erratique.ch/software/xmlm
|
||||||
Source0: http://erratique.ch/software/xmlm/releases/xmlm-%{version}.tbz
|
Source0: http://erratique.ch/software/xmlm/releases/xmlm-%{version}.tbz
|
||||||
|
# Ensure source files are included in generated debuginfo subpackage
|
||||||
|
Patch0: xmlm-1.2.0-debug.patch
|
||||||
# Example XML files for testing
|
# Example XML files for testing
|
||||||
Source1: test-valid.xml
|
Source1: test-valid.xml
|
||||||
Source2: test-invalid.xml
|
Source2: test-invalid.xml
|
||||||
@ -39,6 +41,7 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{libname}-%{version}
|
%setup -q -n %{libname}-%{version}
|
||||||
|
%patch0 -p1 -b .debug
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -102,6 +105,9 @@ grep expected invalid-err.log >/dev/null
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 14 2014 Michel Salim <salimma@fedoraproject.org> - 1.2.0-3
|
||||||
|
- Include source files in -debuginfo
|
||||||
|
|
||||||
* Sat Feb 8 2014 Michel Salim <salimma@fedoraproject.org> - 1.2.0-2
|
* Sat Feb 8 2014 Michel Salim <salimma@fedoraproject.org> - 1.2.0-2
|
||||||
- Incorporate review feedback
|
- Incorporate review feedback
|
||||||
|
|
||||||
|
10
xmlm-1.2.0-debug.patch
Normal file
10
xmlm-1.2.0-debug.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
diff -up xmlm-1.2.0/_tags~ xmlm-1.2.0/_tags
|
||||||
|
--- xmlm-1.2.0/_tags~ 2013-09-06 19:29:13.000000000 +0300
|
||||||
|
+++ xmlm-1.2.0/_tags 2014-02-13 18:57:53.562105217 +0200
|
||||||
|
@@ -1,3 +1,4 @@
|
||||||
|
<**/*.ml> : annot, bin_annot
|
||||||
|
<src> : include
|
||||||
|
-<test> : include
|
||||||
|
\ No newline at end of file
|
||||||
|
+<test> : include
|
||||||
|
+true : debug
|
Loading…
Reference in New Issue
Block a user