]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
- initial proof
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 26 Aug 2008 13:50:25 +0000 (13:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pydebuginfo.patch -> 1.1

pydebuginfo.patch [new file with mode: 0644]

diff --git a/pydebuginfo.patch b/pydebuginfo.patch
new file mode 100644 (file)
index 0000000..644e08a
--- /dev/null
@@ -0,0 +1,18 @@
+--- ./rpm.macros~      2008-08-12 20:54:19.000000000 +0300
++++ ./rpm.macros       2008-08-18 22:58:42.471609996 +0300
+@@ -764,9 +764,14 @@
+ # remove python sources, so that check-files won't complain
+ # (idea by glen <at> pld-linux <dot> org)
+ %py_postclean() \
++%{expand:%%define __sip_%{?_enable_debug_packages} 1} \
++%{?__sip_1:> debugfiles-add.list;}\
+ for d in %{py_sitescriptdir} %{py_sitedir} %*; do \
+- [ ! -d "$RPM_BUILD_ROOT$d" ] || find "$RPM_BUILD_ROOT$d" -name '*.py' -print0 | xargs -0r -l512 rm;\
++      [ ! -d "$RPM_BUILD_ROOT$d" ] || find "$RPM_BUILD_ROOT$d" -name '*.py' \\\
++      %{?__sip_1:>> debugfiles-add.list;}\
++      %{!?__sip_1:-print0 | xargs -0r %{__rm} -f;}\
+ done \
++%{expand:%%undefine __sip_%{?_enable_debug_packages}}\
+ %{nil}
+ # depmod macro
This page took 0.041164 seconds and 4 git commands to generate.