provide a way how to override set envvars through sh.local file(#1344007)
This commit is contained in:
parent
ca404c9555
commit
44e2f003d1
1
.gitignore
vendored
1
.gitignore
vendored
@ -64,3 +64,4 @@ setup-2.8.25.tar.bz2
|
||||
/setup-2.10.8.tar.bz2
|
||||
/setup-2.10.9.tar.bz2
|
||||
/setup-2.10.10.tar.bz2
|
||||
/setup-2.11.1.tar.bz2
|
||||
|
||||
13
setup.spec
13
setup.spec
@ -1,11 +1,11 @@
|
||||
Summary: A set of system configuration and setup files
|
||||
Name: setup
|
||||
Version: 2.10.10
|
||||
Version: 2.11.1
|
||||
Release: 1%{?dist}
|
||||
License: Public Domain
|
||||
Group: System Environment/Base
|
||||
URL: https://pagure.io/setup
|
||||
Source0: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2
|
||||
URL: https://fedorahosted.org/setup/
|
||||
Source0: https://fedorahosted.org/releases/s/e/%{name}/%{name}-%{version}.tar.bz2
|
||||
BuildArch: noarch
|
||||
BuildRequires: bash tcsh perl-interpreter
|
||||
#require system release for saner dependency order
|
||||
@ -40,6 +40,8 @@ chmod 0644 %{buildroot}/etc/environment
|
||||
chmod 0400 %{buildroot}/etc/{shadow,gshadow}
|
||||
chmod 0644 %{buildroot}/var/log/lastlog
|
||||
touch %{buildroot}/etc/fstab
|
||||
mkdir -p %{buildroot}/etc/profile.d
|
||||
echo "#Add any required envvar overrides to this file, it is sourced from /etc/profile" >%{buildroot}/etc/profile.d/sh.local
|
||||
|
||||
# remove unpackaged files from the buildroot
|
||||
rm -f %{buildroot}/etc/Makefile
|
||||
@ -91,11 +93,16 @@ end
|
||||
%config(noreplace) /etc/csh.login
|
||||
%config(noreplace) /etc/csh.cshrc
|
||||
%dir /etc/profile.d
|
||||
%config(noreplace) /etc/profile.d/sh.local
|
||||
%config(noreplace) %verify(not md5 size mtime) /etc/shells
|
||||
%ghost %attr(0644,root,root) %verify(not md5 size mtime) /var/log/lastlog
|
||||
%ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/fstab
|
||||
|
||||
%changelog
|
||||
* Fri Nov 17 2017 Ondrej Vasik <ovasik@redhat.com> - 2.11.1-1
|
||||
- saslauthd belongs to cyrus-sasl and cyrus-imap packages
|
||||
- provide a way how to override set envvars through sh.local file(#1344007)
|
||||
|
||||
* Mon Sep 04 2017 Ondrej Vasik <ovasik@redhat.com> - 2.10.10-1
|
||||
- we need to source /etc/bashrc from /etc/profile for bash
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (setup-2.10.10.tar.bz2) = 61edbdb3cc5e660859aac478146e9ad5d47acbdecbb4ca1cf3c2d1d665b04505fe40ce98a019aeb73dc1b6fb4fc6d4a2d7354588aee3326d8a30a5d638c7989a
|
||||
SHA512 (setup-2.11.1.tar.bz2) = 3e5832e15c4a76705db5d76643cb03cb77d95b55091ff6ae6ba3945647106ac17d1d012ce5830a38a4de58f5e424517a4b5a6223df9bfa588b3ba8ef35ab1ed6
|
||||
|
||||
Loading…
Reference in New Issue
Block a user