Accepting request 846878 from utilities

- Move ctags to update-alternatives scheme.
- Update to release 2020.11.04

OBS-URL: https://build.opensuse.org/request/show/846878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/schily?expand=0&rev=37
This commit is contained in:
Dominique Leuenberger 2020-11-12 21:36:32 +00:00 committed by Git OBS Bridge
commit 17e8198401
4 changed files with 59 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:94f4634226bbc9c4184d962f97253db494919480884e07087d56eea4a3a22561
size 4818571

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ca3ebf65554d9356a33a6641a1796971aabf4915262f92b71f923bf5fc98356e
size 4842782

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sat Nov 7 10:50:14 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Move ctags to update-alternatives scheme.
-------------------------------------------------------------------
Thu Nov 5 00:13:45 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2020.11.04
* Bourne Shell: If a background job did finish during an
implicit wait for a foreground job, the exit code for the
background job was lost, which was fixed.
* star: ACLs and Linux xattrs did not work if the path name to a
file was longer than PATH_MAX, which was fixed.
-------------------------------------------------------------------
Fri Oct 9 22:54:57 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,14 +17,14 @@
# grep -Pir 'define\s+VERSION|strvers'
%global box_version 2020.10.09
%global box_version 2020.11.04
%global cdr_version 3.02~a10
%global sccs_version 5.09
%global smake_version 1.3
%global star_version 1.6.1
%global libfind_version 1.8
%global ved_version 1.7
%define rver 2020-10-09
%global ved_version 1.8
%define rver 2020-11-04
Name: schily
Version: %box_version
@ -100,6 +100,22 @@ cdrecord is a program to record (slang: "burn") data or audio Compact Discs
on an Orange Book CD recorder, to write DVD media on a DVD recorder or to
write BluRay media on a BluRay recorder.
%package ctags
Summary: A program to generate tag files for ex/vi
License: CDDL-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND HPND AND ISC
Group: Development/Tools/Building
Requires(post): update-alternatives
Requires(postun): update-alternatives
%description ctags
Ctags makes a tags file for ex(1) from the specified C, Pascal,
Fortran, YACC, lex, and lisp sources. A tags file gives the locations
of specified objects in a group of files. Each line of the tags file
contains the object name, the file in which it is defined, and a
search pattern for the object definition, separated by whitespace.
Using the tags file, ex(1) can quickly locate these object
definitions.
%package -n libcdrdeflt1_0
Summary: Library to parse the cdrecord config file
License: CDDL-1.0
@ -522,11 +538,14 @@ rm -fv "$b/%_bindir/suntar"
rm -fv "$b/%_mandir/man1/star_sym.1"
rm -fv "$b/%_mandir/man1/suntar.1"
# ctags
mv -v "$b/%_bindir/ctags" "$b/%_bindir/ctags-schily"
cp -v ctags/vctags.1 "$b/%_mandir/man1/"
# mt/rmt
rm -fv "$b/%_bindir/mt" # handled up u-a
ln -sv smt.1 "$b/%_mandir/man1/mt.1"
ln -sv srmt.1 "$b/%_mandir/man1/rmt.1"
ls -l "$b/%_mandir"/man*/*mt*
# get rid of things that upset rpmlint
find "$b/usr/share/doc" -type f -name "*big*" -print -delete
@ -653,6 +672,16 @@ true
%set_permissions %_bindir/cdda2wav
true
%post ctags
"%_sbindir/update-alternatives" \
--install "%_bindir/ctags" ctags "%_bindir/ctags-schily" 20
"%_sbindir/update-alternatives" --auto ctags
%postun ctags
if test "$1" = 0; then
"%_sbindir/update-alternatives" --remove ctags "%_bindir/ctags-schily"
fi
%post -n readcd
%set_permissions %_bindir/readcd
true
@ -661,6 +690,7 @@ true
"%_sbindir/update-alternatives" \
--install "%_bindir/mt" mt "%_bindir/smt" 10 \
--slave "%_mandir/man1/mt.1%ext_man" "mt.1%ext_man" "%_mandir/man1/smt.1%ext_man"
"%_sbindir/update-alternatives" --auto mt
%postun mt
if test "$1" = 0; then
@ -671,6 +701,7 @@ fi
"%_sbindir/update-alternatives" \
--install "%_bindir/rmt" rmt "%_bindir/srmt" 10 \
--slave "%_mandir/man8/rmt.1%ext_man" "rmt.1%ext_man" "%_mandir/man8/srmt.1%ext_man"
"%_sbindir/update-alternatives" --auto rmt
%postun rmt
if test "$1" = 0; then
@ -760,6 +791,12 @@ fi
%verify(not mode caps) %attr(0755,root,root) %_bindir/cdrecord
%_mandir/man1/cdrecord.1*
%files ctags
%license CDDL.Schily.txt
%_bindir/ctags-schily
%_bindir/vctags
%_mandir/man1/vctags.1*
%files -n libcdrdeflt1_0
%license CDDL.Schily.txt
%_libdir/libcdrdeflt.so.1.0