View | Details | Raw Unified | Return to bug 34132
Collapse All | Expand All

(-)a/rpm/util-linux.spec (-3 / +12 lines)
Lines 4-10 Link Here
4
Summary: A collection of basic system utilities
4
Summary: A collection of basic system utilities
5
Name: util-linux
5
Name: util-linux
6
Version: 2.30.2
6
Version: 2.30.2
7
Release: alt1
7
Release: alt2
8
License: GPLv2 and GPLv2+ and BSD with advertising and Public Domain
8
License: GPLv2 and GPLv2+ and BSD with advertising and Public Domain
9
Group: System/Base
9
Group: System/Base
10
URL: ftp://ftp.kernel.org/pub/linux/utils/util-linux
10
URL: ftp://ftp.kernel.org/pub/linux/utils/util-linux
Lines 33-39 Packager: Alexey Gladkov <legion@altlinux.ru> Link Here
33
### Dependences
33
### Dependences
34
BuildRequires: /proc,/dev/pts
34
BuildRequires: /proc,/dev/pts
35
BuildRequires: bash4
35
BuildRequires: bash4
36
BuildRequires: glibc-devel-static klibc-devel
36
BuildRequires: glibc-devel-static
37
%ifnarch e2k
38
BuildRequires: klibc-devel
39
%endif
37
BuildRequires: zlib-devel
40
BuildRequires: zlib-devel
38
BuildRequires: libncursesw-devel
41
BuildRequires: libncursesw-devel
39
BuildRequires: libpopt-devel
42
BuildRequires: libpopt-devel
Lines 538-545 mv blkid.static rpm/blkid.initramfs Link Here
538
%ifarch %ix86 x86_64
541
%ifarch %ix86 x86_64
539
%__cc %optflags stacktest.c -o stacktest
542
%__cc %optflags stacktest.c -o stacktest
540
%endif
543
%endif
544
%ifnarch e2k
541
# build nologin
545
# build nologin
542
klcc -Wall -Wextra -Werror nologin.c -o nologin
546
klcc -Wall -Wextra -Werror nologin.c -o nologin
547
%endif
543
548
544
%__cc %optflags clock_unsynced.c -o clock_unsynced
549
%__cc %optflags clock_unsynced.c -o clock_unsynced
545
%__cc %optflags pause.c -o pause
550
%__cc %optflags pause.c -o pause
Lines 566-573 install -pD -m755 %SOURCE6 %buildroot%_controldir/write Link Here
566
install -p -m755 stacktest %buildroot/%_bindir
571
install -p -m755 stacktest %buildroot/%_bindir
567
%endif
572
%endif
568
install -p -m755 pause %buildroot/%_bindir
573
install -p -m755 pause %buildroot/%_bindir
574
%ifnarch e2k
569
install -p -m755 nologin %buildroot/sbin/
575
install -p -m755 nologin %buildroot/sbin/
570
install -p -m644 nologin.8 %buildroot/%_man8dir/
576
install -p -m644 nologin.8 %buildroot/%_man8dir/
577
%endif
571
578
572
%if_enabled raw
579
%if_enabled raw
573
echo '.so man8/raw.8' > %buildroot/%_man8dir/rawdevices.8
580
echo '.so man8/raw.8' > %buildroot/%_man8dir/rawdevices.8
Lines 950-955 fi Link Here
950
%doc Documentation/*.txt NEWS AUTHORS README* Documentation/licenses/* Documentation/TODO
957
%doc Documentation/*.txt NEWS AUTHORS README* Documentation/licenses/* Documentation/TODO
951
958
952
%changelog
959
%changelog
960
* Mon Nov 06 2017 Michael Shigorin <mike@altlinux.org> 2.30.2-alt2
961
- E2K: avoid klibc/nologin
962
953
* Mon Oct 16 2017 Alexey Gladkov <legion@altlinux.ru> 2.30.2-alt1
963
* Mon Oct 16 2017 Alexey Gladkov <legion@altlinux.ru> 2.30.2-alt1
954
- New version (2.30.2).
964
- New version (2.30.2).
955
965
956
- 

Return to bug 34132