Sha256: 34579edbabe613acad93fec3702f2e61ffbe0de635f854cc20ef3ce85e61d11a

Contents?: true

Size: 524 Bytes

Versions: 6

Compression:

Stored size: 524 Bytes

Contents

# This script is used to tweak the upstream libmongocrypt.spec file such that
# the rpm build will build from a copy of the source tree instead of by
# unpacking an archive of the sources

# Drop the gcc-13 patch.
/Patch.*gcc-13/ { next }

# Drop the source. We're bringing our own
/Source0/ { next }

# Replace the autosetup with one that copies the source tree into place
/%autosetup/ {
    print "cp -rf %{_sourcedir}/. %{_builddir}/\n" \
          "%autopatch 0 -p1"
    next
}

# Print every other line as-is
{ print }

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
libmongocrypt-helper-1.12.0.0.1001 ext/libmongocrypt/libmongocrypt/etc/rpm/tweak.awk
libmongocrypt-helper-1.11.0.0.1001 ext/libmongocrypt/libmongocrypt/etc/rpm/tweak.awk
libmongocrypt-helper-1.8.0.0.1001 ext/libmongocrypt/libmongocrypt/etc/rpm/tweak.awk
libmongocrypt-helper-1.7.4.0.1002 ext/libmongocrypt/libmongocrypt/etc/rpm/tweak.awk
libmongocrypt-helper-1.7.4.0.1001 ext/libmongocrypt/libmongocrypt/etc/rpm/tweak.awk
libmongocrypt-helper-1.7.4.0.1000 ext/libmongocrypt/libmongocrypt/etc/rpm/tweak.awk