#29 Memoize python3_sitearch for faster RPM spec file processing
Merged 2 years ago by asn. Opened 2 years ago by fweimer.
rpms/ fweimer/samba faster-spec  into  rawhide

file modified
+4
@@ -193,6 +193,10 @@ 

  

  %global _systemd_extra "Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba"

  

+ # Make a copy of this variable to prevent repeated evaluation of the

+ # embedded shell command.

+ %global python3_sitearch %{python3_sitearch}

+ 

  Name:           samba

  Version:        %{samba_version}

  Release:        %{samba_release}%{?dist}

This greatly speeds up the creation of source RPMs, among other things.

Pull-Request has been merged by asn

2 years ago
Metadata