X-Git-Url: https://git.tld-linux.org/?p=packages%2Frpm.git;a=blobdiff_plain;f=rpm-debuginfo.patch;h=fbe2dfc9e0c07dcce7cb0dbc78f5cc1408e6dd0c;hp=537f8bcf4cc426f4227f65486be5185c23063a63;hb=HEAD;hpb=685372ccad422be5593dabe2ed2d89f19037e7ca diff --git a/rpm-debuginfo.patch b/rpm-debuginfo.patch index 537f8bc..5ac5738 100644 --- a/rpm-debuginfo.patch +++ b/rpm-debuginfo.patch @@ -1,47 +1,32 @@ ---- rpm-4.4.9.orig/macros.in 2008-01-31 19:20:08.798315963 +0200 -+++ rpm-4.4.9/macros.in 2008-01-31 19:20:50.850567944 +0200 -@@ -188,15 +188,21 @@ - %debug_package \ - %ifnarch noarch\ - %global __debug_package 1\ --%package debug\ -+%package debuginfo\ - Summary: Debug information for package %{name}\ -+Summary(pl.UTF-8): Informacje dla debuggera dla pakietu %{name}\ +--- rpm-4.16.1.3/macros.in.orig 2021-03-24 09:50:21.000000000 +0100 ++++ rpm-4.16.1.3/macros.in 2021-03-24 10:05:10.129698408 +0100 +@@ -194,6 +194,7 @@ Group: Development/Debug\ -+Requires: filesystem-debuginfo >= 3.0-16\ - AutoReqProv: 0\ --%description debug\ -+%description debuginfo\ + AutoReq: 0\ + AutoProv: 1\ ++Requires: FHS-debug\ + %description debuginfo\ This package provides debug information for package %{name}.\ Debug information is useful when developing applications that use this\ - package or when debugging this package.\ --%files debug -f debugfiles.list\ -+%description debuginfo -l pl.UTF-8\ -+Ten pakiet dostarcza informacje dla debuggera dla pakietu %{name}.\ -+Informacje te są przydatne przy rozwijaniu aplikacji używających tego\ -+pakietu oraz przy odpluskwianiu samego pakietu.\ -+%files debuginfo -f debugfiles.list\ - %defattr(-,root,root)\ - %endif\ - %{nil} -@@ -1046,7 +1052,7 @@ - %{?buildroot:%{__rm} -rf '%{buildroot}'} - %__spec_install_body %{___build_body} - %__spec_install_post\ --%{?__debug_package:%{__debug_install_post}}\ -+%{expand:%%define __sip_%{?_enable_debug_packages} 1}%{?__sip_1:%{?__debug_package:%{__debug_install_post}}}%{expand:%%undefine __sip_%{?_enable_debug_packages}}\ - %{__arch_install_post}\ - %{__os_install_post}\ - %{nil} ---- rpm-4.4.9.orig/platform.in 2008-01-31 19:20:08.676303626 +0200 -+++ rpm-4.4.9/platform.in 2008-01-31 19:20:50.844567337 +0200 -@@ -61,7 +61,7 @@ - %{nil} +@@ -534,7 +534,7 @@ + # Same as for "separate" but if the __debug_package global is set then + # the -debuginfo package will have a compatibility link for the main + # ELF /usr/lib/debug/.build-id/xx/yyy -> /usr/lib/.build-id/xx/yyy +-%_build_id_links compat ++%_build_id_links alldebug - %__spec_install_post\ -- %{?__debug_package:%{__debug_install_post}}\ -+ %{expand:%%define __sip_%{?_enable_debug_packages} 1}%{?__sip_1:%{?__debug_package:%{__debug_install_post}}}%{expand:%%undefine __sip_%{?_enable_debug_packages}}\ - %{__arch_install_post}\ - %{__os_install_post}\ - %{nil} + # Whether build-ids should be made unique between package version/releases + # when generating debuginfo packages. If set to 1 this will pass +@@ -563,10 +563,10 @@ + %_unique_debug_srcs 1 + + # Whether rpm should put debug source files into its own subpackage +-#%_debugsource_packages 1 ++%_debugsource_packages 1 + + # Whether rpm should create extra debuginfo packages for each subpackage +-#%_debuginfo_subpackages 1 ++%_debuginfo_subpackages 1 + + # + # Use internal dependency generator rather than external helpers?