Skip to content

Commit

Permalink
Some repo folders reorganization
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Jun 8, 2021
1 parent dd8e066 commit 6218806
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions gitlab-ci/prebuild-c8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ RUN dnf install --nogpg -y git && dnf clean all \
&& if [[ $(git rev-parse --git-dir) != .git ]] || [[ $(git config --get remote.origin.url) != *gitlab.cern.ch/dss/samba-richacl.git ]]; \
then git clone https://gitlab.cern.ch/dss/samba-richacl.git . ; fi

COPY *8.repo /etc/yum.repos.d
COPY gitlab-ci/*8.repo /etc/yum.repos.d

RUN dnf install -y epel-release \
&& dnf install --nogpg -y $(cat ./dnf-install-list) \
&& dnf install --nogpg -y $(cat gitlab-ci/dnf-install-list) \
&& dnf install -y moreutils \
&& dnf clean all \
&& cd /usr/lib64 && ln -s libpyldb-util.cpython-36m-x86-64-linux-gnu.so.2.2.0 libpyldb-util.cpython-36m-x86-64-linux-gnu.so.2.2.1
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion samba.spec.4.13
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Source1: https://ftp.samba.org/pub/samba/samba-%{version}%{pre_release}.t
Source2: gpgkey-52FBC0B86D954B0843324CDC6F33915B6568B7EA.gpg

# Red Hat specific replacement-files
Source10: samba.logrotate
Source10: etc/samba.logrotate
Source11: smb.conf.vendor
Source12: smb.conf.example
Source13: pam_winbind.conf
Expand Down
2 changes: 1 addition & 1 deletion samba.spec.4.14
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Source1: https://ftp.samba.org/pub/samba/stable/samba-%{version}%{pre_rel
Source2: gpgkey-52FBC0B86D954B0843324CDC6F33915B6568B7EA.gpg

# Red Hat specific replacement-files
Source10: samba.logrotate
Source10: etc/samba.logrotate
Source11: smb.conf.vendor
Source12: smb.conf.example
Source13: pam_winbind.conf
Expand Down
2 changes: 1 addition & 1 deletion samba_richacl.spec
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ License: GPLv3+ and LGPLv3+
URL: http://www.samba.org/

Source0: vfs_richacl.c
Source1: samba_richacl_build.sh
Source1: samba_richacl_build.sh

Requires(post): systemd
Requires(preun): systemd
Expand Down
4 changes: 2 additions & 2 deletions samba_richacl_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ set -x
# -e "/^Source[0-9].*samba.pamd/d" \

SRCDIR=$(dirname $sambaspec)/../SOURCES
for n in samba.logrotate smb.conf.vendor smb.conf.example pam_winbind.conf samba.pamd README.downgrade; do
for n in etc/samba.logrotate smb.conf.vendor smb.conf.example pam_winbind.conf samba.pamd README.downgrade; do
if [[ -e $dir/$n ]]; then
cp $n $SRCDIR/$n
else
Expand Down Expand Up @@ -125,7 +125,7 @@ set -x
[[ -n "$2" ]] && {
case $2 in
srpm) # create the source rpm from files in cwd
cp $dir/vfs_richacl.c $0 ~/rpmbuild/SOURCES
cp $dir/src/vfs_richacl.c $0 ~/rpmbuild/SOURCES
cp $dir/samba_richacl.spec ~/rpmbuild/SPECS

rpmbuild -bs ~/rpmbuild/SPECS/samba_richacl.spec
Expand Down
File renamed without changes.

0 comments on commit 6218806

Please sign in to comment.