]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm.macros
- remove .packlist and perllocal.pod for perl packages
[packages/rpm.git] / rpm.macros
index 1112809d8b367c835e0bf52d9b0fd7ad9fbeffd7..3a74608a4ae2cf1acd3e1b446c34a215ecd04e79 100644 (file)
@@ -326,6 +326,12 @@ fi; } \
        fi; \
 } }
 
+# Remove common Perl files we don't package
+%__spec_install_post_perl_clean {\
+%{!?no_install_post_perl_clean: \
+%{?pdir:rm -f $RPM_BUILD_ROOT{%{perl_archlib}/perllocal.pod,%{perl_vendorarch}/auto/%{pdir}%{?pnam:/%(echo %{pnam} | tr - /)}/.packlist}} \
+} }
+
 #-----------------------------------------------------------------
 # Update GConf2 schemas
 #
This page took 0.029855 seconds and 4 git commands to generate.