From 1ade5da8998e2ab239c35274522f8b4d71ec2a3e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:45:24 +0100 Subject: [PATCH] use dircolors -p to create /etc/dircolors [release 1.1.29-2mamba;Sat Dec 26 2020] --- setup.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/setup.spec b/setup.spec index 836fac3..77a625a 100644 --- a/setup.spec +++ b/setup.spec @@ -1,7 +1,7 @@ %define daemon_id 6 Name: setup Version: 1.1.29 -Release: 1mamba +Release: 2mamba Summary: A set of system configuration and setup files Group: System/Configuration Vendor: openmamba @@ -13,6 +13,7 @@ License: GPL BuildArch: noarch ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END +BuildRequires: coreutils Requires(post):sed Requires(post):glibc Requires(post):/usr/sbin/useradd @@ -35,6 +36,8 @@ You should install the setup package because you will find yourself using its ma [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall +dircolors -p > %{buildroot}%{_sysconfdir}/dircolors + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -69,7 +72,7 @@ fi %config(noreplace) %{_sysconfdir}/bashrc %config(noreplace) %{_sysconfdir}/csh.login %config(noreplace) %{_sysconfdir}/csh.cshrc -%config(noreplace) %{_sysconfdir}/dircolors +%config %{_sysconfdir}/dircolors %config(noreplace) %{_sysconfdir}/filesystems %config(noreplace) %{_sysconfdir}/fstab %verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/group @@ -92,6 +95,9 @@ fi %doc AUTHORS ChangeLog %changelog +* Sat Dec 26 2020 Silvan Calarco 1.1.29-2mamba +- use dircolors -p to create /etc/dircolors + * Fri Oct 11 2019 Silvan Calarco 1.1.29-1mamba - update to 1.1.29