]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- added rpm-remove-unneeded-elf-sections (removes ELFs .note and .comment)
authormis <mis@pld-linux.org>
Thu, 27 Jul 2000 16:07:43 +0000 (16:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  as macro %__spec_install_post

Changed files:
    rpm.macros -> 1.19

rpm.macros

index 79d6043bc3078fb1190f7e634d52cf57198b93ca..26bebd7dbe3fae9f3ec93dcd63ec2363e6ba94ed 100644 (file)
@@ -104,3 +104,6 @@ done \
 
 # If non-empty "debug" macro defined, add "dbg" suffix to release number
 %_rpmfilename          %%{NAME}-%%{VERSION}-%%{RELEASE}%{?debug:dbg}.%%{ARCH}.rpm
+
+# remove .comment and .note from ELFs 
+%__spec_install_post   /usr/lib/rpm/remove-unneeded-elf-sections %{buildroot}
This page took 0.038485 seconds and 4 git commands to generate.