Compare commits

..

8 Commits

Author SHA1 Message Date
David Abdurachmanov b09cdf1fae
Revert all previous riscv64 hacks
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-10-17 16:41:08 +03:00
David Abdurachmanov a5f1ebf897
Rever all previous changes
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-10-17 16:39:37 +03:00
David Abdurachmanov 3d52f2e394
Fix more files
[..]
RPM build errors:
error: File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/man/man1/chfn.1*
error: File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/man/man1/chsh.1*
error: File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/bash-completion/completions/chfn
error: File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/bash-completion/completions/chsh
    File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/bin/chfn
    File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/bin/chsh
    File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/man/man1/chfn.1*
    File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/man/man1/chsh.1*
    File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/bash-completion/completions/chfn
    File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/bash-completion/completions/chsh
[..]

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-09-26 20:43:43 +03:00
David Abdurachmanov 62465a1231
Fix files section without pam
[..]
RPM build errors:
    File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/bin/su
    File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/bin/login
    File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/man/man1/login.1*
    File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/man/man1/runuser.1*
    File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/man/man1/su.1*
    File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/sbin/runuser
    File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/bash-completion/completions/runuser
    File not found: /builddir/build/BUILDROOT/util-linux-2.38.1-1.0.riscv64.fc37.rvre1.riscv64/usr/share/bash-completion/completions/su
[..]

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-09-26 20:08:18 +03:00
David Abdurachmanov 7a6d3dfe27
Disable chfn_chsh
[..]
configure: error: chfn_chsh selected, but required PAM header file not available
error: Bad exit status from /var/tmp/rpm-tmp.0q4kRg (%build)
    Bad exit status from /var/tmp/rpm-tmp.0q4kRg (%build)
RPM build errors:
[..]

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-09-26 19:00:42 +03:00
David Abdurachmanov 92dcfa3b4d
Remove pam (bootstrap, libnsl2)
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-09-26 18:15:23 +03:00
David Abdurachmanov 90a6df0a5b
Rebuilt for Fedora/RISCV (riscv64); adding .rvreX to Release:
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-09-26 17:34:19 +03:00
David Abdurachmanov 9287d3142f
Rebuilt for Fedora/RISCV (riscv64); adding .rvreX to Release:
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-09-22 15:15:42 +03:00
3 changed files with 13 additions and 47 deletions

3
.gitignore vendored
View File

@ -87,6 +87,3 @@
/util-linux-2.38-rc3.tar.xz
/util-linux-2.38.tar.xz
/util-linux-2.38.1.tar.xz
/util-linux-2.39-rc1.tar.xz
/util-linux-2.39-rc2.tar.xz
/util-linux-2.39-rc3.tar.xz

View File

@ -1 +1 @@
SHA512 (util-linux-2.39-rc3.tar.xz) = 8a93d32a5ceb38d50a4b2c8bfa48bcab7ec9b758c89b5a1a4f7fd74558dce37385bd7ea203345148d4389de4ea60ec42058f9d7889a8075d3e616773d085427e
SHA512 (util-linux-2.38.1.tar.xz) = 07f11147f67dfc6c8bc766dfc83266054e6ede776feada0566b447d13276b6882ee85c6fe53e8d94a17c03332106fc0549deca3cf5f2e92dda554e9bc0551957

View File

@ -1,13 +1,13 @@
### Header
Summary: Collection of basic system utilities
Name: util-linux
Version: 2.39
Release: 0.5%{?dist}
Version: 2.38.1
Release: 1.1.riscv64%{?dist}
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
URL: https://en.wikipedia.org/wiki/Util-linux
### Macros
%global upstream_version %{version}-rc3
%global upstream_version %{version}
%global upstream_major %(eval echo %{version} | sed -e 's/\([[:digit:]]*\)\.\([[:digit:]]*\)\.[[:digit:]]*$/\1.\2/')
%global compldir %{_datadir}/bash-completion/completions/
@ -38,10 +38,10 @@ BuildRequires: librtas-devel
%endif
# enable if make changes to build-system
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: bison
#BuildRequires: autoconf
#BuildRequires: automake
#BuildRequires: libtool
#BuildRequires: bison
### Sources
Source0: https://www.kernel.org/pub/linux/utils/util-linux/v%{upstream_major}/util-linux-%{upstream_version}.tar.xz
@ -335,13 +335,13 @@ mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,6,8,5}
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/{pam.d,security/console.apps}
mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir}/tmpfiles.d
mkdir -p ${RPM_BUILD_ROOT}/usr/lib/tmpfiles.d
# install util-linux
%make_install
# And a dirs uuidd needs that the makefiles don't create
install -m 644 %{SOURCE4} ${RPM_BUILD_ROOT}%{_tmpfilesdir}/uuidd.conf
install -m 644 %{SOURCE4} ${RPM_BUILD_ROOT}/usr/lib/tmpfiles.d/uuidd.conf
install -d ${RPM_BUILD_ROOT}/run/uuidd
install -d ${RPM_BUILD_ROOT}/var/lib/libuuid
@ -490,7 +490,6 @@ fi
%{_bindir}/eject
%{_bindir}/fallocate
%{_bindir}/fincore
%{_bindir}/fadvise
%{_bindir}/getopt
%{_bindir}/hexdump
%{_bindir}/irqtop
@ -510,7 +509,6 @@ fi
%{_bindir}/mcookie
%{_bindir}/mesg
%{_bindir}/namei
%{_bindir}/pipesz
%{_bindir}/prlimit
%{_bindir}/rename
%{_bindir}/rev
@ -525,7 +523,6 @@ fi
%{_bindir}/utmpdump
%{_bindir}/uuidgen
%{_bindir}/uuidparse
%{_bindir}/waitpid
%{_bindir}/wall
%{_bindir}/wdctl
%{_bindir}/whereis
@ -536,7 +533,6 @@ fi
%{_mandir}/man1/colrm.1*
%{_mandir}/man1/column.1*
%{_mandir}/man1/eject.1*
%{_mandir}/man1/fadvise.1.*
%{_mandir}/man1/fallocate.1*
%{_mandir}/man1/fincore.1*
%{_mandir}/man1/getopt.1*
@ -555,7 +551,6 @@ fi
%{_mandir}/man1/mcookie.1*
%{_mandir}/man1/mesg.1*
%{_mandir}/man1/namei.1*
%{_mandir}/man1/pipesz.1.*
%{_mandir}/man1/prlimit.1*
%{_mandir}/man1/rename.1*
%{_mandir}/man1/rev.1*
@ -571,7 +566,6 @@ fi
%{_mandir}/man1/utmpdump.1.gz
%{_mandir}/man1/uuidgen.1*
%{_mandir}/man1/uuidparse.1*
%{_mandir}/man1/waitpid.1.*
%{_mandir}/man1/wall.1*
%{_mandir}/man1/whereis.1*
%{_mandir}/man1/write.1*
@ -579,7 +573,6 @@ fi
%{_mandir}/man5/terminal-colors.d.5*
%{_mandir}/man8/addpart.8*
%{_mandir}/man8/blkdiscard.8*
%{_mandir}/man8/blkpr.8.*
%{_mandir}/man8/blkzone.8*
%{_mandir}/man8/chcpu.8*
%{_mandir}/man8/chmem.8*
@ -613,7 +606,6 @@ fi
%{_mandir}/man8/zramctl.8*
%{_sbindir}/addpart
%{_sbindir}/blkdiscard
%{_sbindir}/blkpr
%{_sbindir}/blkzone
%{_sbindir}/chcpu
%{_sbindir}/ctrlaltdel
@ -683,7 +675,6 @@ fi
%{compldir}/mkfs.cramfs
%{compldir}/mkfs.minix
%{compldir}/namei
%{compldir}/pipesz
%{compldir}/pivot_root
%{compldir}/prlimit
%{compldir}/readprofile
@ -847,7 +838,7 @@ fi
%dir %attr(2775, uuidd, uuidd) /var/lib/libuuid
%dir %attr(2775, uuidd, uuidd) /run/uuidd
%{compldir}/uuidd
%{_tmpfilesdir}/uuidd.conf
/usr/lib/tmpfiles.d/uuidd.conf
%files -n libfdisk
@ -918,30 +909,8 @@ fi
%{_libdir}/python*/site-packages/libmount/
%changelog
* Wed Apr 19 2023 Karel Zak <kzak@redhat.com> - 2.39-0.5
- upgrade to v2.39-rc3 (fixes XFS and rw/ro issues)
* Wed Apr 5 2023 Karel Zak <kzak@redhat.com> - 2.39-0.4
- fix #2180593 (superblock reconfiguration libmount issue)
* Tue Apr 4 2023 Karel Zak <kzak@redhat.com> - 2.39-0.3
- fix spec file
* Tue Apr 4 2023 Karel Zak <kzak@redhat.com> - 2.39-0.2
- upgrade to v2.39-rc2
* Mon Mar 20 2023 Karel Zak <kzak@redhat.com> - 2.39-0.1
- upgrade to v2.39-rc1
https://kernel.org/pub/linux/utils/util-linux/v2.39/v2.39-ReleaseNotes
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.38.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Dec 17 2022 Florian Weimer <fweimer@redhat.com> - 2.38.1-3
- Backport upstream patch to fix C99 issue in kill
* Mon Aug 22 2022 Karel Zak <kzak@redhat.com> - 2.38.1-2
- improve tmpfiles.d use in spec file
* Mon Oct 17 2022 David Abdurachmanov <davidlt@rivosinc.com> - 2.38.1-1.0.riscv64
- Revert all previous custom riscv64 changes
* Thu Aug 4 2022 Karel Zak <kzak@redhat.com> - 2.38.1-1
- upgrade to v2.38.1