Hackfut Security File Manager
Current Path:
/usr/lib/rpm/redhat
usr
/
lib
/
rpm
/
redhat
/
📁
..
📄
brp-compress
(1.42 KB)
📄
brp-implant-ident-static
(970 B)
📄
brp-java-repack-jars
(2.6 KB)
📄
brp-python-hardlink
(682 B)
📄
brp-redhat
(405 B)
📄
brp-sparc64-linux
(1.05 KB)
📄
brp-strip
(509 B)
📄
brp-strip-comment-note
(803 B)
📄
brp-strip-shared
(707 B)
📄
brp-strip-static-archive
(416 B)
📄
config.guess
(43.55 KB)
📄
config.sub
(31.96 KB)
📄
dist.sh
(1.92 KB)
📄
find-provides
(2.79 KB)
📁
find-provides.d
📄
find-provides.ksyms
(241 B)
📄
find-provides.libtool
(187 B)
📄
find-provides.pkgconfig
(603 B)
📄
find-requires
(4.05 KB)
📄
find-requires.ksyms
(4.44 KB)
📄
find-requires.libtool
(271 B)
📄
find-requires.pkgconfig
(257 B)
📄
kmodtool
(7.5 KB)
📄
macros
(8.66 KB)
📄
perl.prov
(4.73 KB)
📄
perl.req
(6.22 KB)
📄
rpmrc
(3.25 KB)
📄
rpmsort
(2.11 KB)
📄
symset-table
(903 B)
Editing: brp-python-hardlink
#!/bin/sh # If using normal root, avoid changing anything. if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then exit 0 fi # Hardlink identical *.pyc and *.pyo, originally from PLD's rpm-build-macros # Modified to use sha1sum instead of cmp to avoid a diffutils dependency. find "$RPM_BUILD_ROOT" -type f -name "*.pyc" | while read pyc ; do pyo="$(echo $pyc | sed -e 's/.pyc$/.pyo/')" if [ -f "$pyo" ] ; then csha="$(sha1sum -b $pyc | cut -d' ' -f 1)" && \ osha="$(sha1sum -b $pyo | cut -d' ' -f 1)" && \ if [ "$csha" = "$osha" ] ; then ln -f "$pyc" "$pyo" fi fi done
Upload File
Create Folder