SHA256
1
0
forked from pool/filesystem

Accepting request 1058014 from Base:System

- Revert "Remove /etc/sysconfig/network hierachy" for now
  (bsc#1206723).

- Add languages that contain a lot of translations. For years
  we output statistics on how many translations are removed, but
  it wasn't collected so far. So adding languages with >50k translated
  messages (bsc#1134757)

- Fixup previous change: X86_64 is not yet known to RPM, thus we
  need to make sure to explicitly include x86_64.

- add subdirectories for x86_64 hwcaps

- Remove unused /etc/sysconfig/scripts
- Remove /etc/sysconfig/network hierachy, not used by default anymore

OBS-URL: https://build.opensuse.org/request/show/1058014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/filesystem?expand=0&rev=168
This commit is contained in:
Dominique Leuenberger 2023-01-14 19:30:36 +00:00 committed by Git OBS Bridge
commit 31a18393cb
6 changed files with 59 additions and 8 deletions

View File

@ -16,7 +16,6 @@
0755 root root /etc/sysconfig/network/if-up.d 0755 root root /etc/sysconfig/network/if-up.d
0700 root root /etc/sysconfig/network/providers 0700 root root /etc/sysconfig/network/providers
0755 root root /etc/sysconfig/network/scripts 0755 root root /etc/sysconfig/network/scripts
0755 root root /etc/sysconfig/scripts
0755 root root /etc/sysctl.d 0755 root root /etc/sysctl.d
0755 root root /etc/tmpfiles.d 0755 root root /etc/tmpfiles.d
0755 root root /etc/opt 0755 root root /etc/opt

3
directory.list64-x86_64 Normal file
View File

@ -0,0 +1,3 @@
0555 root root /usr/lib64/glibc-hwcaps/x86-64-v4
0555 root root /usr/lib64/glibc-hwcaps/x86-64-v3
0555 root root /usr/lib64/glibc-hwcaps/x86-64-v2

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jan 12 11:41:40 UTC 2023 - Dirk Müller <dmueller@suse.com>
- Revert "Remove /etc/sysconfig/network hierachy" for now
(bsc#1206723).
-------------------------------------------------------------------
Wed Dec 14 15:28:47 UTC 2022 - Stephan Kulow <coolo@suse.com>
- Add languages that contain a lot of translations. For years
we output statistics on how many translations are removed, but
it wasn't collected so far. So adding languages with >50k translated
messages (bsc#1134757)
-------------------------------------------------------------------
Wed Dec 14 09:11:42 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Fixup previous change: X86_64 is not yet known to RPM, thus we
need to make sure to explicitly include x86_64.
-------------------------------------------------------------------
Thu Dec 8 14:18:11 UTC 2022 - Dirk Müller <dmueller@suse.com>
- add subdirectories for x86_64 hwcaps
-------------------------------------------------------------------
Wed Dec 7 15:59:46 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>
- Remove unused /etc/sysconfig/scripts
- Remove /etc/sysconfig/network hierachy, not used by default anymore
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 24 12:27:27 UTC 2022 - Dan Čermák <dcermak@suse.com> Thu Nov 24 12:27:27 UTC 2022 - Dan Čermák <dcermak@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package filesystem # spec file for package filesystem
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,8 @@ Source2: languages
Source3: ghost.list Source3: ghost.list
Source4: languages.man Source4: languages.man
Source64: directory.list64 Source64: directory.list64
Source65: ghost.list64 Source65: directory.list64-x86_64
Source66: ghost.list64
Source99: LICENSE.txt Source99: LICENSE.txt
%description %description
@ -53,8 +54,8 @@ the home directories of system users.
cp %{SOURCE0} . cp %{SOURCE0} .
cp %{SOURCE1} . cp %{SOURCE1} .
cp %{SOURCE3} . cp %{SOURCE3} .
%ifarch s390x %sparc x86_64 ppc64 ppc aarch64 ppc64le riscv64 %ifarch s390x %sparc x86_64 %x86_64 ppc64 ppc aarch64 ppc64le riscv64
cat %{SOURCE65} >> ghost.list cat %{SOURCE66} >> ghost.list
%endif %endif
%build %build
@ -109,7 +110,7 @@ cat > pre.lua <<'EOF'
needmigrate = false needmigrate = false
local dirs = {"/bin", local dirs = {"/bin",
"/sbin", "/sbin",
%ifarch s390x %sparc x86_64 ppc64 ppc aarch64 ppc64le riscv64 %ifarch s390x %sparc x86_64 %x86_64 ppc64 ppc aarch64 ppc64le riscv64
"/lib64", "/lib64",
%endif %endif
"/lib" } "/lib" }
@ -174,14 +175,17 @@ function create_dir () {
mkdir -p $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT
# generic directories first # generic directories first
echo "%%defattr(-,root,root)" > filesystem.list echo "%%defattr(-,root,root)" > filesystem.list
%ifarch s390x %sparc x86_64 ppc64 ppc aarch64 ppc64le riscv64 %ifarch s390x %sparc x86_64 %x86_64 ppc64 ppc aarch64 ppc64le riscv64
cat %{SOURCE64} >> directory.list cat %{SOURCE64} >> directory.list
%endif %endif
%ifarch x86_64 %x86_64
cat %{SOURCE65} >> directory.list
%endif
cat >> filesystem.links << EOF cat >> filesystem.links << EOF
usr/bin /bin usr/bin /bin
usr/sbin /sbin usr/sbin /sbin
usr/lib /lib usr/lib /lib
%ifarch s390x %sparc x86_64 ppc64 ppc aarch64 ppc64le riscv64 %ifarch s390x %sparc x86_64 %x86_64 ppc64 ppc aarch64 ppc64le riscv64
usr/lib64 /lib64 usr/lib64 /lib64
%endif %endif
EOF EOF

View File

@ -1,15 +1,20 @@
af
ar ar
as as
ast ast
az
be be
be@latin be@latin
bg bg
bn bn
bn_IN bn_IN
br
bs
ca ca
ca@valencia ca@valencia
cs cs
cs_CZ cs_CZ
cy
da da
de de
de_AT de_AT
@ -56,7 +61,9 @@ fr
fr_CA fr_CA
fr_CH fr_CH
fr_FR fr_FR
fur
ga ga
gd
gl gl
gu gu
he he
@ -69,6 +76,7 @@ is
it it
it_IT it_IT
ja ja
ka
kk kk
km km
kn kn
@ -79,6 +87,7 @@ mai
mk mk
ml ml
mr mr
ms
nb nb
nb_NO nb_NO
nds nds
@ -87,6 +96,7 @@ nl
nl_BE nl_BE
nn nn
nn_NO nn_NO
oc
or or
pa pa
pl pl
@ -98,12 +108,15 @@ ro
ru ru
ru_RU ru_RU
ru_UA.koi8u ru_UA.koi8u
si
sk sk
sl sl
sl_SI sl_SI
sq sq
sr sr
sr@ije sr@ije
sr@ijekavian
sr@ijekavianlatin
sr@latin sr@latin
sv sv
ta ta

View File

@ -1,3 +1,4 @@
bg
ca ca
cs cs
da da