The rpmrebuild of filesystem is failed in current version and can work rightly in the old version before %ghost is added to the /proc and /sys ( commit eae52044e75c0dfef5c3901a08590943e12db434).
Mark the /proc and /sys as directories explicitly beacuse it is not identified as directories when installed in the RPM database, which make rpmrebuild packaging these directories recuresively and failed.
The rpmrebuild of filesystem is failed in current version and can work rightly in the old version before %ghost is added to the /proc and /sys ( commit eae52044e75c0dfef5c3901a08590943e12db434).
Mark the /proc and /sys as directories explicitly beacuse it is not identified as directories when installed in the RPM database, which make rpmrebuild packaging these directories recuresively and failed.