]> git.pld-linux.org Git - packages/chkconfig.git/commitdiff
unbreak systemd-sysv-install symlink; rel 2 master auto/th/chkconfig-1.25-2
authorJan Palus <atler@pld-linux.org>
Thu, 19 Oct 2023 14:13:26 +0000 (16:13 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 19 Oct 2023 14:13:26 +0000 (16:13 +0200)
chkconfig-split-usr.patch
chkconfig.spec

index b4fb5cdfb0b78088f64a7ed0b4316822168aa70a..fd94dfd22985967ae66e4820b637e69b92714f76 100644 (file)
@@ -1,11 +1,13 @@
 --- chkconfig-1.25/Makefile.orig       2023-10-07 21:02:30.061494548 +0200
 +++ chkconfig-1.25/Makefile    2023-10-07 21:06:10.476967121 +0200
-@@ -59,7 +59,7 @@ install:
+@@ -59,8 +59,8 @@ install:
        [ -d $(DESTDIR)/$(ALTDATADIR) ] || mkdir -p -m 755 $(DESTDIR)/$(ALTDATADIR)
        [ -d $(DESTDIR)/$(SYSTEMDUTILDIR) ] || mkdir -p -m 755 $(DESTDIR)/$(SYSTEMDUTILDIR)
  
 -      install -m 755 $(PROG) $(DESTDIR)/$(SBINDIR)/$(PROG)
+-      ln -s ../../..$(SBINDIR)/$(PROG) $(DESTDIR)/$(SYSTEMDUTILDIR)/systemd-sysv-install
 +      install -m 755 $(PROG) $(DESTDIR)/$(BINDIR)/$(PROG)
-       ln -s ../../..$(SBINDIR)/$(PROG) $(DESTDIR)/$(SYSTEMDUTILDIR)/systemd-sysv-install
++      ln -s $(shell realpath -m --relative-to="$(SYSTEMDUTILDIR)" "$(BINDIR)")/$(PROG) $(DESTDIR)/$(SYSTEMDUTILDIR)/systemd-sysv-install
  
        install -m 755 ntsysv $(DESTDIR)/$(SBINDIR)/ntsysv
+       install -m 755 alternatives $(DESTDIR)/$(SBINDIR)/alternatives
index daef8af916f9607ed83f15484bf6317594006db3..af7821ba7b3be7a90feaf057f7a97c630af380cf 100644 (file)
@@ -10,7 +10,7 @@ Summary(tr.UTF-8):    Sistem servis bilgilerini sorgular ve yeniler
 Summary(uk.UTF-8):     Системна утиліта для керування ієрархією /etc/rc.d
 Name:          chkconfig
 Version:       1.25
-Release:       1
+Release:       2
 Epoch:         2
 License:       GPL v2
 Group:         Applications/System
This page took 0.129348 seconds and 4 git commands to generate.