diff options
| author | Michael Biebl <biebl@debian.org> | 2025-08-01 19:15:18 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2025-08-01 19:15:18 +0200 |
| commit | 43a9f1ee48d7f7b9f4447e9fe17a4274c6fad67f (patch) | |
| tree | 5f570d79dfc6eb4c736b708a99b3b2e5ed7608d1 /contrib/fedora | |
| parent | e0a3970cd0ea64b36773deae96366bbe7d1efbee (diff) | |
| parent | 7e9091a5960f67a84787c03153324915220e4816 (diff) | |
Update upstream source from tag 'upstream/1.54.0'
Update to upstream version '1.54.0' with Debian dir efd253369d835d8f9c404eef4f97d88deb9625fe
Diffstat (limited to 'contrib/fedora')
| -rwxr-xr-x | contrib/fedora/REQUIRED_PACKAGES | 1 | ||||
| -rw-r--r-- | contrib/fedora/rpm/NetworkManager.spec | 6 | ||||
| -rwxr-xr-x | contrib/fedora/rpm/build_clean.sh | 2 | ||||
| -rwxr-xr-x | contrib/fedora/utils/makerepo.sh | 8 |
4 files changed, 13 insertions, 4 deletions
diff --git a/contrib/fedora/REQUIRED_PACKAGES b/contrib/fedora/REQUIRED_PACKAGES index 1bb7ec6b..38a2cbbf 100755 --- a/contrib/fedora/REQUIRED_PACKAGES +++ b/contrib/fedora/REQUIRED_PACKAGES @@ -66,6 +66,7 @@ install \ jq \ libcurl-devel \ libndp-devel \ + libnvme-devel \ libselinux-devel \ libtool \ libuuid-devel \ diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec index 22a1a49c..788e9ead 100644 --- a/contrib/fedora/rpm/NetworkManager.spec +++ b/contrib/fedora/rpm/NetworkManager.spec @@ -307,6 +307,7 @@ BuildRequires: libubsan BuildRequires: firewalld-filesystem BuildRequires: iproute BuildRequires: iproute-tc +BuildRequires: libnvme-devel >= 1.5 Provides: %{name}-dispatcher%{?_isa} = %{epoch}:%{version}-%{release} @@ -761,6 +762,11 @@ rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/*.la rm -f %{buildroot}%{nmplugindir}/*.la +# Don't use the *-initrd.service files yet, wait dracut to support them +rm -f %{buildroot}%{_unitdir}/NetworkManager-config-initrd.service +rm -f %{buildroot}%{_unitdir}/NetworkManager-initrd.service +rm -f %{buildroot}%{_unitdir}/NetworkManager-wait-online-initrd.service + # Ensure the documentation timestamps are constant to avoid multilib conflicts find %{buildroot}%{_datadir}/gtk-doc -exec touch --reference meson.build '{}' \+ diff --git a/contrib/fedora/rpm/build_clean.sh b/contrib/fedora/rpm/build_clean.sh index 2dbca0e7..68599bda 100755 --- a/contrib/fedora/rpm/build_clean.sh +++ b/contrib/fedora/rpm/build_clean.sh @@ -143,7 +143,7 @@ while [[ $# -gt 0 ]]; do ;; --no-auto-with-test) # by default, the script adds "-w test" (unless the command line contains - # "-w test" or "-W test"). This flags allows to suppress that automatism. + # "-w test" or "-W test"). This flag suppresses that automatism. # It's really only useful to test the spec file's internal default for the # "test" option. Otherwise, you can always just explicitly select "-w test" # or "-W test". diff --git a/contrib/fedora/utils/makerepo.sh b/contrib/fedora/utils/makerepo.sh index e81c478b..25c42db5 100755 --- a/contrib/fedora/utils/makerepo.sh +++ b/contrib/fedora/utils/makerepo.sh @@ -265,9 +265,11 @@ detect_dirname() { # At some point FEDPKG changed the behavior of "prep" command # now it generates the directory with "-build" suffix and the # real directory inside. We just move it out. - rm -rf $D - mv $D-build/$D . - rm -rf $D-build + if [ -d "$D-build" ]; then + rm -rf "$D" + mv "$D-build/$D" . + rm -rf "$D-build" + fi [[ -d "$D" ]] && DIRS=("${DIRS[@]}" "$D") done done |