- fix BR 150392 by implementing the setgid/utmp scheme for socket directory
add BUILD_MAKE_FLAGS to the make invocation line
This commit is contained in:
parent
ed7b385591
commit
d52fdb8d29
17
screen.spec
17
screen.spec
@ -1,7 +1,7 @@
|
||||
Summary: A screen manager that supports multiple logins on one terminal.
|
||||
Name: screen
|
||||
Version: 4.0.2
|
||||
Release: 7
|
||||
Release: 8
|
||||
License: GPL2
|
||||
Group: Applications/System
|
||||
URL: http://www.gnu.org/software/screen
|
||||
@ -90,8 +90,8 @@ autoconf
|
||||
--enable-rxvt_osc \
|
||||
--enable-locale \
|
||||
--enable-telnet \
|
||||
--with-sys-screenrc="/etc/screenrc" #\
|
||||
#--with-socket-dir="/tmp/screen"
|
||||
--with-sys-screenrc="/etc/screenrc" \
|
||||
--with-socket-dir="/var/run/screen"
|
||||
|
||||
# We would like to have braille support.
|
||||
#
|
||||
@ -113,7 +113,7 @@ done
|
||||
rm doc/screen.info*
|
||||
make clean
|
||||
|
||||
CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" make
|
||||
CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" make $BUILD_MAKE_FLAGS
|
||||
|
||||
|
||||
%install
|
||||
@ -135,6 +135,9 @@ cat etc/screenrc >> $RPM_BUILD_ROOT/etc/screenrc
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/pam.d
|
||||
install -m 0644 $RPM_SOURCE_DIR/screen.pam $RPM_BUILD_ROOT/etc/pam.d/screen
|
||||
|
||||
# Create the socket dir
|
||||
mkdir -p $RPM_BUILD_ROOT/var/run/screen
|
||||
|
||||
# Remove files from the buildroot which we don't want packaged
|
||||
#
|
||||
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
|
||||
@ -156,14 +159,18 @@ fi
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS README doc/FAQ doc/README.DOTSCREEN
|
||||
|
||||
%attr(755,root,root) %{_bindir}/screen
|
||||
%attr(2755,root,utmp) %{_bindir}/screen
|
||||
%{_mandir}/man1/screen.*
|
||||
%{_infodir}/screen.info*
|
||||
%{_datadir}/screen/utf8encodings/*
|
||||
%attr(775,root,utmp) %{_localstatedir}/run/screen
|
||||
%config /etc/screenrc
|
||||
%config /etc/pam.d/screen
|
||||
|
||||
%changelog
|
||||
* Tue Mar 29 2005 Petr Rockai <prockai@redhat.com> - 4.0.2-8
|
||||
- fix BR 150392 by implementing the setgid/utmp scheme for socket directory
|
||||
|
||||
* Wed Mar 02 2005 Petr Rockai <prockai@redhat.com> - 4.0.2-7
|
||||
- rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user