]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-debuginfo.patch
- for .la symlinks generate libtool(symlink), not libtool(target) Provides
[packages/rpm.git] / rpm-debuginfo.patch
CommitLineData
ebe974a8
AF
1--- rpm-5.3.1/macros/macros.rpmbuild.in.wiget 2010-03-31 14:22:06.000000000 +0200
2+++ rpm-5.3.1/macros/macros.rpmbuild.in 2010-05-30 16:51:46.906008986 +0200
3@@ -383,7 +383,7 @@ echo "Patch #%{__patch_number} (%{basena
4 %{?buildroot:%{__rm} -rf '%{buildroot}'; %{__mkdir_p} '%{buildroot}'}
5 %__spec_install_body %{___build_body}
6 %__spec_install_post\
7-%{?__debug_package:%{__debug_install_post}}\
8+%{expand:%%define __sip_%{?_enable_debug_packages} 1}%{?__sip_1:%{?__debug_package:%{__debug_install_post}}}%{expand:%%undefine __sip_%{?_enable_debug_packages}}\
9 %{__arch_install_post}\
10 %{__os_install_post}\
11 %{nil}
12--- rpm-5.3.1/macros/macros.in.wiget 2010-05-30 16:47:23.389365448 +0200
13+++ rpm-5.3.1/macros/macros.in 2010-05-30 16:47:23.412699985 +0200
14@@ -131,15 +131,21 @@
529784bf 15 %debug_package \
16 %ifnarch noarch\
17 %global __debug_package 1\
18-%package debug\
19+%package debuginfo\
20 Summary: Debug information for package %{name}\
533e4448 21+Summary(pl.UTF-8): Informacje dla debuggera dla pakietu %{name}\
529784bf 22 Group: Development/Debug\
533e4448 23+Requires: filesystem-debuginfo >= 3.0-16\
529784bf 24 AutoReqProv: 0\
25-%description debug\
26+%description debuginfo\
27 This package provides debug information for package %{name}.\
28 Debug information is useful when developing applications that use this\
29 package or when debugging this package.\
c0d03115 30-%files debug -f debugfiles.list\
4807bda4 31+%description debuginfo -l pl.UTF-8\
529784bf 32+Ten pakiet dostarcza informacje dla debuggera dla pakietu %{name}.\
9d68bb95 33+Informacje te są przydatne przy rozwijaniu aplikacji używających tego\
529784bf 34+pakietu oraz przy odpluskwianiu samego pakietu.\
c0d03115 35+%files debuginfo -f debugfiles.list\
529784bf 36 %defattr(-,root,root)\
37 %endif\
c0d03115 38 %{nil}
ebe974a8
AF
39--- rpm-5.3.1/scripts/find-debuginfo.sh.wiget 2009-09-10 03:52:13.000000000 +0200
40+++ rpm-5.3.1/scripts/find-debuginfo.sh 2010-05-30 16:53:33.275994510 +0200
41@@ -92,7 +92,8 @@ strip_to_debug()
9d68bb95
AM
42 $strip_g && case "$(file -bi "$2")" in
43 application/x-sharedlib,*) g=-g ;;
44 esac
45- eu-strip --remove-comment $g -f "$1" "$2" || exit
46+ objcopy --only-keep-debug --remove-section .comment "$2" "$1" || exit
47+ objcopy --add-gnu-debuglink="$1" "$2" || exit
ebe974a8 48 chmod 444 "$1" || exit
6fc678f5
JB
49 }
50
This page took 0.129069 seconds and 4 git commands to generate.