File tree Expand file tree Collapse file tree 4 files changed +1
-427
lines changed
Expand file tree Collapse file tree 4 files changed +1
-427
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ Requires: systemd
3636Requires: util-linux
3737Requires: chkconfig
3838Requires: initscripts-service
39- Requires: initscripts-rename-device
4039
4140Requires(pre): shadow-utils
4241Requires(post): coreutils
@@ -90,16 +89,6 @@ other legacy tools & utilities.
9089
9190# === SUBPACKAGES =============================================================
9291
93- %package -n initscripts-rename-device
94- Summary: Udev helper utility that provides network interface naming
95-
96- %shared_requirements
97-
98- %description -n initscripts-rename-device
99- Udev helper utility that provides network interface naming
100-
101- # ---------------
102-
10392%package -n initscripts-service
10493Summary: Support for service command
10594BuildArch: noarch
336325
337326# =============================================================================
338327
339- %files -n initscripts-rename-device
340-
341- %{_prefix }/lib/udev/rename_device
342-
343- %{_udevrulesdir }/*
344-
345- # ---------------
346-
347328%files -n initscripts-service
348329
349330%dir %{_libexecdir }/%{name }
Original file line number Diff line number Diff line change @@ -21,19 +21,17 @@ CC = gcc
2121CFLAGS += $(RPM_OPT_FLAGS ) -Wall -D_GNU_SOURCE -fPIE
2222LDFLAGS += $(RPM_LD_FLAGS ) -pie -z relro -z now
2323
24- PROGS = consoletype genhostid rename_device usernetctl usleep
24+ PROGS = consoletype genhostid usernetctl usleep
2525
2626all : $(PROGS )
2727
2828install : all
2929 install -m 0755 -d $(DESTDIR )$(bindir )
3030 install -m 0755 -d $(DESTDIR )$(sbindir )
31- install -m 0755 -d $(DESTDIR )$(libdir ) /udev
3231 install -m 0755 build/usleep $(DESTDIR )$(bindir )
3332 install -m 0755 build/consoletype $(DESTDIR )$(sbindir )
3433 install -m 0755 build/genhostid $(DESTDIR )$(sbindir )
3534 install -m 0755 build/usernetctl $(DESTDIR )$(sbindir )
36- install -m 0755 build/rename_device $(DESTDIR )$(libdir ) /udev
3735
3836clean :
3937 rm -f build/*
@@ -52,13 +50,6 @@ build/genhostid.o: genhostid.c
5250 $(CC ) $(CFLAGS ) -c -o $@ $^
5351
5452
55- rename_device : build/rename_device.o
56- $(CC ) $(LDFLAGS ) -o build/$@ $^ ` pkg-config glib-2.0 --libs`
57-
58- build/rename_device.o : rename_device.c
59- $(CC ) $(CFLAGS ) -c -o $@ $^ ` pkg-config glib-2.0 --cflags`
60-
61-
6253usernetctl : build/usernetctl.o
6354 $(CC ) $(LDFLAGS ) -o build/$@ $^
6455
You can’t perform that action at this time.
0 commit comments