From 75bfb8dd7bc3c775f3c29a8b8b2f6f831a814f68 Mon Sep 17 00:00:00 2001 From: yun yang Date: Mar 21 2026 03:11:54 +0000 Subject: Mark the /proc and /sys as directories explicitly 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. --- diff --git a/filesystem.spec b/filesystem.spec index fc5df84..f448bcb 100644 --- a/filesystem.spec +++ b/filesystem.spec @@ -1,7 +1,7 @@ Summary: The basic directory layout for a Linux system Name: filesystem Version: 3.18 -Release: 2%{?dist} +Release: 3%{?dist} License: Public Domain URL: https://pagure.io/filesystem Source1: https://pagure.io/filesystem/raw/master/f/lang-exceptions @@ -206,12 +206,12 @@ end /media %dir /mnt %dir /opt -%ghost %attr(555,root,root) /proc +%dir %ghost %attr(555,root,root) /proc %attr(550,root,root) /root /run /sbin /srv -%ghost %attr(555,root,root) /sys +%dir %ghost %attr(555,root,root) /sys %attr(1777,root,root) /tmp %dir /usr %attr(555,root,root) /usr/bin @@ -310,6 +310,9 @@ end /var/yp %changelog +* Sat Mar 21 2026 yangyun - 3.18-3 +- Mark the /proc and /sys as directories explicitly + * Tue Aug 09 2022 Martin Osvald - 3.18-2 - Filesystem has a dependency on /bin/sh (rhbz#1306489)