3f3c6f
# Define this to link to which library version  eg. /lib64/ld-lsb-x86-64.so.3
3f3c6f
%global lsbsover 3
3f3c6f
3f3c6f
%ifarch %{ix86}
3f3c6f
%global ldso ld-linux.so.2
3f3c6f
%global lsbldso ld-lsb.so
3f3c6f
%endif
3f3c6f
3f3c6f
%ifarch ia64
3f3c6f
%global ldso ld-linux-ia64.so.2
3f3c6f
%global lsbldso ld-lsb-ia64.so
3f3c6f
%endif
3f3c6f
3f3c6f
%ifarch ppc
3f3c6f
%global ldso ld.so.1
3f3c6f
%global lsbldso ld-lsb-ppc32.so
3f3c6f
%endif
3f3c6f
3f3c6f
%ifarch ppc64
3f3c6f
%global ldso ld64.so.1
3f3c6f
%global lsbldso ld-lsb-ppc64.so
3f3c6f
%endif
3f3c6f
3f3c6f
%ifarch ppc64le
3f3c6f
%global ldso ld64.so.2
3f3c6f
%global lsbldso ld-lsb-ppc64le.so
3f3c6f
%endif
3f3c6f
3f3c6f
%ifarch s390
3f3c6f
%global ldso ld.so.1
3f3c6f
%global lsbldso ld-lsb-s390.so
3f3c6f
%endif
3f3c6f
3f3c6f
%ifarch s390x
3f3c6f
%global ldso ld64.so.1
3f3c6f
%global lsbldso ld-lsb-s390x.so
3f3c6f
%endif
3f3c6f
3f3c6f
%ifarch x86_64
3f3c6f
%global ldso ld-linux-x86-64.so.2
3f3c6f
%global lsbldso ld-lsb-x86-64.so
3f3c6f
%endif
3f3c6f
3f3c6f
%ifarch %{arm}
3f3c6f
%global ldso ld-linux.so.2
3f3c6f
%global lsbldso ld-lsb-arm.so
3f3c6f
%endif
3f3c6f
3f3c6f
%ifarch aarch64
3f3c6f
%global ldso ld-linux-aarch64.so.1
3f3c6f
%global lsbldso ld-lsb-aarch64.so
3f3c6f
%endif
3f3c6f
3f3c6f
%global upstreamlsbrelver 2.0
3f3c6f
%global lsbrelver 4.1
3f3c6f
%global srcrelease 1
3f3c6f
3f3c6f
# for >= f28, __brp_ldconfig is added in __os_install_post, it removes the symlink %%{lsbldso}
3f3c6f
# and thus leading to the FTBS.
3f3c6f
%global __brp_ldconfig %{nil}
3f3c6f
3f3c6f
Summary: Implementation of Linux Standard Base specification
3f3c6f
Name: redhat-lsb
3f3c6f
Version: 4.1
3f3c6f
Release: 47%{?dist}
3f3c6f
URL: http://www.linuxfoundation.org/collaborate/workgroups/lsb
3f3c6f
Source0: https://fedorahosted.org/releases/r/e/redhat-lsb/%{name}-%{version}-%{srcrelease}.tar.bz2
3f3c6f
Patch0: lsb-release-3.1-update-init-functions.patch
3f3c6f
Patch1: redhat-lsb-lsb_start_daemon-fix.patch
3f3c6f
Patch2: redhat-lsb-trigger.patch
3f3c6f
Patch3: redhat-lsb-arm.patch
3f3c6f
Patch4: redhat-lsb-aarch64.patch
3f3c6f
License: GPLv2
3f3c6f
BuildRequires: glibc-static
3f3c6f
BuildRequires: perl-generators
3f3c6f
BuildRequires: perl(Getopt::Long)
3f3c6f
BuildRequires: gcc
3f3c6f
3f3c6f
%ifarch %{ix86}
3f3c6f
%global archname ia32
3f3c6f
%endif
3f3c6f
%ifarch ia64
3f3c6f
%global archname ia64
3f3c6f
%endif
3f3c6f
%ifarch ppc
3f3c6f
%global archname ppc32
3f3c6f
%endif
3f3c6f
%ifarch ppc64
3f3c6f
%global archname ppc64
3f3c6f
%endif
3f3c6f
%ifarch ppc64le
3f3c6f
%global archname ppc64le
3f3c6f
%endif
3f3c6f
%ifarch s390
3f3c6f
%global archname s390
3f3c6f
%endif
3f3c6f
%ifarch s390x
3f3c6f
%global archname s390x
3f3c6f
%endif
3f3c6f
%ifarch x86_64
3f3c6f
%global archname amd64
3f3c6f
%endif
3f3c6f
%ifarch %{arm}
3f3c6f
%global archname arm
3f3c6f
%endif
3f3c6f
%ifarch aarch64
3f3c6f
%global archname aarch64
3f3c6f
%endif
3f3c6f
3f3c6f
ExclusiveArch: %{ix86} ia64 x86_64 ppc ppc64 s390 s390x %{arm} aarch64 ppc64le
3f3c6f
3f3c6f
Requires: redhat-lsb-core%{?_isa} = %{version}-%{release}
3f3c6f
Requires: redhat-lsb-cxx%{?_isa} = %{version}-%{release}
3f3c6f
Requires: redhat-lsb-desktop%{?_isa} = %{version}-%{release}
3f3c6f
Requires: redhat-lsb-languages = %{version}-%{release}
3f3c6f
Requires: redhat-lsb-printing = %{version}-%{release}
3f3c6f
#Requires: redhat-lsb-trialuse = %%{version}-%%{release}
3f3c6f
3f3c6f
Provides: lsb = %{version}-%{release}
3f3c6f
Provides: lsb-%{archname} = %{version}-%{release}
3f3c6f
Provides: lsb-noarch = %{version}-%{release}
3f3c6f
3f3c6f
%description
3f3c6f
The Linux Standard Base (LSB) is an attempt to develop a set of standards that
3f3c6f
will increase compatibility among Linux distributions. It is designed to be 
3f3c6f
binary-compatible and produce a stable application binary interface (ABI) for
3f3c6f
independent software vendors.
3f3c6f
The lsb package provides utilities, libraries etc. needed for LSB Compliant 
3f3c6f
Applications. It also contains requirements that will ensure that all 
3f3c6f
components required by the LSB are installed on the system.
3f3c6f
3f3c6f
%package submod-security
3f3c6f
Summary: LSB Security submodule support
3f3c6f
Requires: nspr%{?_isa}
3f3c6f
# Requires: nspr-devel
3f3c6f
Requires: nss%{?_isa}
3f3c6f
3f3c6f
Provides: lsb-submod-security-%{archname} = %{version}-%{release}
3f3c6f
Provides: lsb-submod-security-noarch = %{version}-%{release}
3f3c6f
3f3c6f
%description submod-security
3f3c6f
The Linux Standard Base (LSB) Security submodule specifications define 
3f3c6f
components that are required to be present on an LSB conforming system.
3f3c6f
3f3c6f
%package submod-multimedia
3f3c6f
Summary: LSB Multimedia submodule support
3f3c6f
Requires: alsa-lib%{?_isa}
3f3c6f
3f3c6f
Provides: lsb-submod-multimedia-%{archname} = %{version}-%{release}
3f3c6f
Provides: lsb-submod-multimedia-noarch = %{version}-%{release}
3f3c6f
3f3c6f
%description submod-multimedia
3f3c6f
The Linux Standard Base (LSB) Multimedia submodule specifications define 
3f3c6f
components that are required to be present on an LSB conforming system.
3f3c6f
3f3c6f
%package core
3f3c6f
Summary: LSB Core module support
3f3c6f
# gLSB Library
3f3c6f
Requires: glibc%{?_isa}
3f3c6f
Requires: glibc-common
3f3c6f
Requires: libgcc%{?_isa}
3f3c6f
#LSB requires libncurses.so.5 for some reason
3f3c6f
Requires: ncurses-compat-libs%{?_isa}
3f3c6f
Requires: pam%{?_isa}
3f3c6f
Requires: zlib%{?_isa}
3f3c6f
3f3c6f
# gLSB Command and Utilities
3f3c6f
Requires: /usr/bin/[
3f3c6f
Requires: /usr/bin/ar
3f3c6f
Requires: /usr/bin/at
3f3c6f
Requires: /usr/bin/awk
3f3c6f
Requires: /usr/bin/basename
3f3c6f
Requires: /usr/bin/batch
3f3c6f
Requires: /usr/bin/bc
3f3c6f
Requires: /usr/bin/cat
3f3c6f
Requires: /usr/bin/chfn
3f3c6f
Requires: /usr/bin/chgrp
3f3c6f
Requires: /usr/bin/chmod
3f3c6f
Requires: /usr/bin/chown
3f3c6f
Requires: /usr/bin/chsh
3f3c6f
Requires: /usr/bin/cksum
3f3c6f
Requires: /usr/bin/cmp
3f3c6f
Requires: /usr/bin/col
3f3c6f
Requires: /usr/bin/comm
3f3c6f
Requires: /usr/bin/cp
3f3c6f
Requires: /usr/bin/cpio
3f3c6f
Requires: /usr/bin/crontab
3f3c6f
Requires: /usr/bin/csplit
3f3c6f
Requires: /usr/bin/cut
3f3c6f
Requires: /usr/bin/date
3f3c6f
Requires: /usr/bin/dd
3f3c6f
Requires: /usr/bin/df
3f3c6f
Requires: /usr/bin/diff
3f3c6f
Requires: /usr/bin/dirname
3f3c6f
Requires: /usr/bin/dmesg
3f3c6f
Requires: /usr/bin/du
3f3c6f
Requires: /usr/bin/echo
3f3c6f
Requires: /usr/bin/ed
3f3c6f
Requires: /usr/bin/egrep
3f3c6f
Requires: /usr/bin/env
3f3c6f
Requires: /usr/bin/expand
3f3c6f
Requires: /usr/bin/expr
3f3c6f
Requires: /usr/bin/false
3f3c6f
Requires: /usr/bin/fgrep
3f3c6f
Requires: /usr/bin/file
3f3c6f
Requires: /usr/bin/find
3f3c6f
Requires: /usr/bin/fold
3f3c6f
Requires: /usr/sbin/fuser
3f3c6f
Requires: /usr/bin/gencat
3f3c6f
Requires: /usr/bin/getconf
3f3c6f
Requires: /usr/bin/gettext
3f3c6f
Requires: /usr/bin/grep
3f3c6f
Requires: /usr/sbin/groupadd
3f3c6f
Requires: /usr/sbin/groupdel
3f3c6f
Requires: /usr/sbin/groupmod
3f3c6f
Requires: /usr/bin/groups
3f3c6f
Requires: /usr/bin/gunzip
3f3c6f
Requires: /usr/bin/gzip
3f3c6f
Requires: /usr/bin/head
3f3c6f
Requires: /usr/bin/hostname
3f3c6f
Requires: /usr/bin/iconv
3f3c6f
Requires: /usr/bin/id
3f3c6f
Requires: /usr/bin/install
3f3c6f
Requires: /usr/bin/ipcrm
3f3c6f
Requires: /usr/bin/ipcs
3f3c6f
Requires: /usr/bin/join
3f3c6f
Requires: /usr/bin/kill
3f3c6f
Requires: /usr/bin/killall
3f3c6f
Requires: /usr/bin/ln
3f3c6f
Requires: /usr/bin/locale
3f3c6f
Requires: /usr/bin/localedef
3f3c6f
Requires: /usr/bin/logger
3f3c6f
Requires: /usr/bin/logname
3f3c6f
Requires: /usr/bin/lp
3f3c6f
Requires: /usr/bin/lpr
3f3c6f
Requires: /usr/bin/ls
3f3c6f
Requires: /usr/bin/m4
3f3c6f
Requires: /bin/mailx
3f3c6f
Requires: /usr/bin/make
3f3c6f
Requires: /usr/bin/man
3f3c6f
Requires: /usr/bin/md5sum
3f3c6f
Requires: /usr/bin/mkdir
3f3c6f
Requires: /usr/bin/mkfifo
3f3c6f
Requires: /usr/bin/mknod
3f3c6f
Requires: /usr/bin/mktemp
3f3c6f
Requires: /usr/bin/more
3f3c6f
Requires: /usr/bin/mount
3f3c6f
Requires: /usr/bin/msgfmt
3f3c6f
Requires: /usr/bin/mv
3f3c6f
Requires: /usr/bin/newgrp
3f3c6f
Requires: /usr/bin/nice
3f3c6f
Requires: /usr/bin/nl
3f3c6f
Requires: /usr/bin/nohup
3f3c6f
Requires: /usr/bin/od
3f3c6f
Requires: /usr/bin/passwd
3f3c6f
Requires: /usr/bin/paste
3f3c6f
Requires: /usr/bin/patch
3f3c6f
Requires: /usr/bin/pathchk
3f3c6f
#better POSIX conformance of /usr/bin/pax
3f3c6f
Requires: spax
3f3c6f
Requires: /usr/bin/pidof
3f3c6f
Requires: /usr/bin/pr
3f3c6f
Requires: /usr/bin/printf
3f3c6f
Requires: /usr/bin/ps
3f3c6f
Requires: /usr/bin/pwd
3f3c6f
Requires: /usr/bin/renice
3f3c6f
Requires: /usr/bin/rm
3f3c6f
Requires: /usr/bin/rmdir
3f3c6f
Requires: /usr/bin/sed
3f3c6f
Requires: /usr/sbin/sendmail
3f3c6f
Requires: /usr/bin/seq
3f3c6f
Requires: /usr/bin/sh
3f3c6f
Requires: /usr/sbin/shutdown
3f3c6f
Requires: /usr/bin/sleep
3f3c6f
Requires: /usr/bin/sort
3f3c6f
Requires: /usr/bin/split
3f3c6f
Requires: /usr/bin/strings
3f3c6f
Requires: /usr/bin/strip
3f3c6f
Requires: /usr/bin/stty
3f3c6f
Requires: /usr/bin/su
3f3c6f
Requires: /usr/bin/sync
3f3c6f
Requires: /usr/bin/tail
3f3c6f
Requires: /usr/bin/tar
3f3c6f
Requires: /usr/bin/tee
3f3c6f
Requires: /usr/bin/test
3f3c6f
Requires: /usr/bin/time
3f3c6f
Requires: /usr/bin/touch
3f3c6f
Requires: /usr/bin/tr
3f3c6f
Requires: /usr/bin/true
3f3c6f
Requires: /usr/bin/tsort
3f3c6f
Requires: /usr/bin/tty
3f3c6f
Requires: /usr/bin/umount
3f3c6f
Requires: /usr/bin/uname
3f3c6f
Requires: /usr/bin/unexpand
3f3c6f
Requires: /usr/bin/uniq
3f3c6f
Requires: /usr/sbin/useradd
3f3c6f
Requires: /usr/sbin/userdel
3f3c6f
Requires: /usr/sbin/usermod
3f3c6f
Requires: /usr/bin/wc
3f3c6f
Requires: /usr/bin/xargs
3f3c6f
Requires: /usr/bin/zcat
3f3c6f
Requires: redhat-lsb-submod-security%{?_isa} = %{version}-%{release}
3f3c6f
3f3c6f
Provides: lsb-core-%{archname} = %{version}-%{release}
3f3c6f
Provides: lsb-core-noarch = %{version}-%{release}
3f3c6f
#Obsoletes: redhat-lsb < %%{version}-%%{release}
3f3c6f
3f3c6f
%description core
3f3c6f
The Linux Standard Base (LSB) Core module support provides the fundamental
3f3c6f
system interfaces, libraries, and runtime environment upon which all conforming
3f3c6f
applications and libraries depend.
3f3c6f
3f3c6f
%package cxx
3f3c6f
Summary: LSB CXX module support
3f3c6f
Requires: libstdc++%{?_isa}
3f3c6f
Requires: redhat-lsb-core%{?_isa} = %{version}-%{release}
3f3c6f
3f3c6f
Provides: lsb-cxx-%{archname} = %{version}-%{release}
3f3c6f
Provides: lsb-cxx-noarch = %{version}-%{release}
3f3c6f
3f3c6f
%description cxx
3f3c6f
The Linux Standard Base (LSB) CXX module supports the core interfaces by
3f3c6f
providing system interfaces, libraries, and a runtime environment for 
3f3c6f
applications built using the C++ programming language. These interfaces 
3f3c6f
provide low-level support for the core constructs of the language, and 
3f3c6f
implement the standard base C++ libraries.
3f3c6f
3f3c6f
%package desktop
3f3c6f
Summary: LSB Desktop module support
3f3c6f
Requires: xdg-utils
3f3c6f
# LSB_Graphics library
3f3c6f
Requires: libICE%{?_isa}
3f3c6f
Requires: libSM%{?_isa}
3f3c6f
Requires: libX11%{?_isa}
3f3c6f
Requires: libXext%{?_isa}
3f3c6f
Requires: libXi%{?_isa}
3f3c6f
Requires: libXt%{?_isa}
3f3c6f
Requires: libXtst%{?_isa}
3f3c6f
Requires: mesa-libGL%{?_isa}
3f3c6f
Requires: mesa-libGLU%{?_isa}
3f3c6f
# gLSB Graphics and gLSB Graphics Ext Command and Utilities
3f3c6f
Requires: /usr/bin/fc-cache
3f3c6f
Requires: /usr/bin/fc-list
3f3c6f
Requires: /usr/bin/fc-match
3f3c6f
# gLSB Graphics Ext library
3f3c6f
Requires: cairo%{?_isa}
3f3c6f
Requires: freetype%{?_isa}
3f3c6f
Requires: libjpeg-turbo%{?_isa}
3f3c6f
3f3c6f
%ifarch %{ix86} ppc s390 arm
3f3c6f
Requires: libpng12.so.0
3f3c6f
%endif
3f3c6f
%ifarch x86_64 ppc64 s390x aarch64 ppc64le
3f3c6f
Requires: libpng12.so.0()(64bit)
3f3c6f
%endif
3f3c6f
Requires: libpng%{?_isa}
3f3c6f
Requires: libXft%{?_isa}
3f3c6f
Requires: libXrender%{?_isa}
3f3c6f
# toolkit-gtk
3f3c6f
Requires: atk%{?_isa}
3f3c6f
Requires: gdk-pixbuf2%{?_isa}
3f3c6f
Requires: glib2%{?_isa}
3f3c6f
Requires: gtk2%{?_isa}
3f3c6f
Requires: pango%{?_isa}
3f3c6f
# toolkit-qt is not in rhel
3f3c6f
#Requires: qt%{?_isa}
3f3c6f
#Requires: qt-x11%{?_isa}
3f3c6f
# toolkit-qt3 is not in rhel
3f3c6f
#Requires: qt3%{?_isa}
3f3c6f
# xml
3f3c6f
Requires: libxml2%{?_isa}
3f3c6f
Requires: redhat-lsb-submod-multimedia%{?_isa} = %{version}-%{release}
3f3c6f
Requires: redhat-lsb-core%{?_isa} = %{version}-%{release}
3f3c6f
3f3c6f
Provides: lsb-desktop-%{archname} = %{version}-%{release}
3f3c6f
Provides: lsb-desktop-noarch = %{version}-%{release}
3f3c6f
Provides: lsb-graphics-%{archname} = %{version}-%{release}
3f3c6f
Provides: lsb-graphics-noarch = %{version}-%{release}
3f3c6f
Obsoletes: redhat-lsb-graphics < %{version}-%{release}
3f3c6f
3f3c6f
%description desktop
3f3c6f
The Linux Standard Base (LSB) Desktop Specifications define components that are
3f3c6f
required to be present on an LSB conforming system.
3f3c6f
3f3c6f
%package languages
3f3c6f
Summary: LSB Languages module support
3f3c6f
# Perl and Perl non-builtin modules
3f3c6f
Requires: /usr/bin/perl
3f3c6f
Requires: perl(CGI)
3f3c6f
Requires: perl(Class::ISA)
3f3c6f
Requires: perl(CPAN)
3f3c6f
# Locale::Constants has been Locale::Codes::Costants, so we need
3f3c6f
# create a /usr/share/perl5/vendor_perl/Constants.pm manually.
3f3c6f
# Requires: perl(Locale::Constants)
3f3c6f
# perl(Locale::Constants) requires perl(Locale::Codes)
3f3c6f
# DB module is a builtin module, but perl package doesn't contain this provide.
3f3c6f
# Requires: perl(DB)
3f3c6f
# we also need perl(Pod::Plainer), we need to rpm this package ourself
3f3c6f
Requires: perl(Locale::Codes)
3f3c6f
Requires: perl(File::Spec)
3f3c6f
Requires: perl(Scalar::Util)
3f3c6f
Requires: perl(Test::Harness)
3f3c6f
Requires: perl(Test::Simple)
3f3c6f
Requires: perl(ExtUtils::MakeMaker)
3f3c6f
Requires: perl(Pod::Plainer)
3f3c6f
Requires: perl(XML::LibXML)
3f3c6f
Requires: perl(Pod::LaTeX)
3f3c6f
Requires: perl(Pod::Checker)
3f3c6f
Requires: perl(B::Lint)
3f3c6f
Requires: perl(Text::Soundex)
3f3c6f
Requires: perl(Env)
3f3c6f
Requires: perl(Time::HiRes)
3f3c6f
Requires: perl(Locale::Maketext)
3f3c6f
Requires: perl(Fatal)
3f3c6f
Requires: perl(File::CheckTree)
3f3c6f
Requires: perl(Sys::Syslog)
3f3c6f
Requires: perl(Getopt::Long)
3f3c6f
3f3c6f
# python3
3f3c6f
Requires: /usr/bin/python3
3f3c6f
# java
3f3c6f
Requires: redhat-lsb-core%{?_isa} = %{version}-%{release}
3f3c6f
3f3c6f
Provides: lsb-languages-%{archname} = %{version}-%{release}
3f3c6f
Provides: lsb-languages-noarch = %{version}-%{release}
3f3c6f
3f3c6f
%description languages
3f3c6f
The Linux Standard Base (LSB) Languages module supports components for runtime
3f3c6f
languages which are found on an LSB conforming system.
3f3c6f
3f3c6f
%package printing
3f3c6f
Summary: LSB Printing module support
3f3c6f
# gLSB Printing Libraries
3f3c6f
Requires: cups-libs
3f3c6f
# gLSB Printing Command and Utilities
3f3c6f
Requires: /usr/bin/foomatic-rip
3f3c6f
Requires: /usr/bin/gs
3f3c6f
Requires: redhat-lsb-core%{?_isa} = %{version}-%{release}
3f3c6f
3f3c6f
Provides: lsb-printing-%{archname} = %{version}-%{release}
3f3c6f
Provides: lsb-printing-noarch = %{version}-%{release}
3f3c6f
Obsoletes: redhat-lsb-printing < %{version}-%{release}
3f3c6f
3f3c6f
%description printing
3f3c6f
The Linux Standard Base (LSB) Printing specifications define components that 
3f3c6f
are required to be present on an LSB conforming system.
3f3c6f
3f3c6f
%package trialuse
3f3c6f
Summary: LSB Trialuse module support
3f3c6f
Requires: redhat-lsb-submod-multimedia%{?_isa} = %{version}-%{release}
3f3c6f
Requires: redhat-lsb-submod-security%{?_isa} = %{version}-%{release}
3f3c6f
Requires: redhat-lsb-core%{?_isa} = %{version}-%{release}
3f3c6f
3f3c6f
Provides: lsb-trialuse-%{archname} = %{version}-%{release}
3f3c6f
Provides: lsb-trialuse-noarch = %{version}-%{release}
3f3c6f
3f3c6f
%description trialuse
3f3c6f
The Linux Standard Base (LSB) Trialuse module support defines components
3f3c6f
which are not required parts of the LSB Specification.
3f3c6f
3f3c6f
%package supplemental
3f3c6f
Summary: LSB supplemental dependencies required by LSB certification tests
3f3c6f
Requires: net-tools
3f3c6f
Requires: xorg-x11-fonts-ISO8859-1-75dpi
3f3c6f
Requires: xorg-x11-fonts-ISO8859-1-100dpi
3f3c6f
Requires: abattis-cantarell-fonts
3f3c6f
Requires: sil-abyssinica-fonts
3f3c6f
Requires: xorg-x11-server-Xvfb
3f3c6f
3f3c6f
%description supplemental
3f3c6f
This subpackage brings in supplemental dependencies for components required for
3f3c6f
passing LSB (Linux Standard Base) certification testsuite, but not directly required
3f3c6f
to be on LSB conforming system.
3f3c6f
3f3c6f
%prep
3f3c6f
%setup -q
3f3c6f
%patch0 -p1
3f3c6f
%patch1 -p1
3f3c6f
%patch2 -p0 -b .triggerfix
3f3c6f
%patch3 -p1 -b .arm
3f3c6f
%patch4 -p1 -b .aarch64
3f3c6f
3f3c6f
%build
3f3c6f
cd lsb-release-%{upstreamlsbrelver}
3f3c6f
make
3f3c6f
3f3c6f
%pre
3f3c6f
# remove the extra symlink /bin/mailx -> /bin/mail
3f3c6f
if [ -e /bin/mailx ]; then
3f3c6f
   if [ -L /bin/mailx ]; then
3f3c6f
     rm -f /bin/mailx
3f3c6f
   fi
3f3c6f
fi
3f3c6f
3f3c6f
%install
3f3c6f
# LSB uses /usr/lib rather than /usr/lib64 even for 64bit OS
3f3c6f
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} $RPM_BUILD_ROOT/%{_lib} $RPM_BUILD_ROOT%{_mandir} \
3f3c6f
         $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT/usr/lib/lsb \
3f3c6f
         $RPM_BUILD_ROOT%{_sysconfdir}/lsb-release.d/ $RPM_BUILD_ROOT%{_sbindir} \
3f3c6f
         $RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}
3f3c6f
3f3c6f
# manually add Locale::Constants. This module is just an alias of Locale::Codes::Constants
3f3c6f
mkdir -p $RPM_BUILD_ROOT%{perl_vendorlib}/Locale
3f3c6f
cp -p Constants.pm $RPM_BUILD_ROOT%{perl_vendorlib}/Locale
3f3c6f
cp -p Constants.pod $RPM_BUILD_ROOT%{perl_vendorlib}/Locale
3f3c6f
3f3c6f
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
3f3c6f
cd lsb-release-%{upstreamlsbrelver}
3f3c6f
make mandir=$RPM_BUILD_ROOT/%{_mandir} prefix=$RPM_BUILD_ROOT/%{_prefix} install
3f3c6f
cd ..
3f3c6f
# we keep more lsb information in /usr/share/lsb
3f3c6f
mkdir -p $RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules
3f3c6f
mkdir -p $RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/submodules
3f3c6f
3f3c6f
#prepare installation of doc
3f3c6f
cp -p lsb-release-2.0/COPYING .
3f3c6f
cp -p lsb-release-2.0/README README.lsb_release
3f3c6f
3f3c6f
# relations between modules and submodules
3f3c6f
modules="core cxx desktop languages printing trialuse"
3f3c6f
submodules="core perl python cpp toolkit-gtk"
3f3c6f
submodules="${submodules} xml multimedia security desktop-misc graphics graphics-ext"
3f3c6f
submodules="${submodules} printing"
3f3c6f
3f3c6f
core="core security"
3f3c6f
cxx="cpp"
3f3c6f
desktop="desktop-misc graphics graphics-ext multimedia toolkit-gtk"
3f3c6f
desktop="${desktop} xml"
3f3c6f
languages="perl python"
3f3c6f
printing="printing"
3f3c6f
trialuse="security multimedia"
3f3c6f
3f3c6f
for mod in ${modules};do
3f3c6f
  touch $RPM_BUILD_ROOT%{_sysconfdir}/lsb-release.d/${mod}-%{lsbrelver}-%{archname}
3f3c6f
  touch $RPM_BUILD_ROOT%{_sysconfdir}/lsb-release.d/${mod}-%{lsbrelver}-noarch
3f3c6f
done
3f3c6f
3f3c6f
for submod in ${submodules};do
3f3c6f
  touch $RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/submodules/${submod}-%{lsbrelver}-%{archname}
3f3c6f
  touch $RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/submodules/${submod}-%{lsbrelver}-noarch
3f3c6f
done
3f3c6f
for moddir in ${modules};do
3f3c6f
    mkdir -p $RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/${moddir}
3f3c6f
done
3f3c6f
3f3c6f
for submod in ${core};do
3f3c6f
  ln -snf ../../submodules/${submod}-%{lsbrelver}-%{archname} \
3f3c6f
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/core/${submod}-%{lsbrelver}-%{archname}
3f3c6f
  ln -snf ../../submodules/${submod}-%{lsbrelver}-noarch \
3f3c6f
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/core/${submod}-%{lsbrelver}-noarch
3f3c6f
done
3f3c6f
for submod in ${cxx};do
3f3c6f
  ln -snf ../../submodules/${submod}-%{lsbrelver}-%{archname} \
3f3c6f
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/cxx/${submod}-%{lsbrelver}-%{archname}
3f3c6f
  ln -snf ../../submodules/${submod}-%{lsbrelver}-noarch \
3f3c6f
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/cxx/${submod}-%{lsbrelver}-noarch
3f3c6f
done
3f3c6f
for submod in ${desktop};do
3f3c6f
  ln -snf ../../submodules/${submod}-%{lsbrelver}-%{archname} \
3f3c6f
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/desktop/${submod}-%{lsbrelver}-%{archname}
3f3c6f
  ln -snf ../../submodules/${submod}-%{lsbrelver}-noarch \
3f3c6f
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/desktop/${submod}-%{lsbrelver}-noarch
3f3c6f
done
3f3c6f
for submod in ${languages};do
3f3c6f
  ln -snf ../../submodules/${submod}-%{lsbrelver}-%{archname} \
3f3c6f
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/languages/${submod}-%{lsbrelver}-%{archname}
3f3c6f
  ln -snf ../../submodules/${submod}-%{lsbrelver}-noarch \
3f3c6f
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/languages/${submod}-%{lsbrelver}-noarch
3f3c6f
done
3f3c6f
for submod in ${printing};do
3f3c6f
  ln -snf ../../submodules/${submod}-%{lsbrelver}-%{archname} \
3f3c6f
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/printing/${submod}-%{lsbrelver}-%{archname}
3f3c6f
  ln -snf ../../submodules/${submod}-%{lsbrelver}-noarch \
3f3c6f
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/printing/${submod}-%{lsbrelver}-noarch
3f3c6f
done
3f3c6f
for submod in ${trialuse};do
3f3c6f
  ln -snf ../../submodules/${submod}-%{lsbrelver}-%{archname} \
3f3c6f
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/trialuse/${submod}-%{lsbrelver}-%{archname}
3f3c6f
  ln -snf ../../submodules/${submod}-%{lsbrelver}-noarch \
3f3c6f
$RPM_BUILD_ROOT%{_datadir}/lsb/%{lsbrelver}/modules/trialuse/${submod}-%{lsbrelver}-noarch
3f3c6f
done
3f3c6f
3f3c6f
for LSBVER in %{lsbsover}; do
3f3c6f
  ln -snf %{ldso} $RPM_BUILD_ROOT/%{_lib}/%{lsbldso}.$LSBVER
3f3c6f
done
3f3c6f
3f3c6f
mkdir -p $RPM_BUILD_ROOT/bin
3f3c6f
3f3c6f
# LSB uses /usr/lib rather than /usr/lib64 even for 64bit OS
3f3c6f
# According to the lsb-core documentation provided by 
3f3c6f
# http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic.pdf
3f3c6f
# it's OK to put non binary in /usr/lib.
3f3c6f
ln -snf ../../../sbin/chkconfig $RPM_BUILD_ROOT/usr/lib/lsb/install_initd
3f3c6f
ln -snf ../../../sbin/chkconfig $RPM_BUILD_ROOT/usr/lib/lsb/remove_initd
3f3c6f
#ln -snf mail $RPM_BUILD_ROOT/bin/mailx
3f3c6f
3f3c6f
#mkdir -p $RPM_BUILD_ROOT/usr/X11R6/lib/X11/xserver
3f3c6f
#ln -snf /usr/%{_lib}/xserver/SecurityPolicy $RPM_BUILD_ROOT/usr/X11R6/lib/X11/xserver/SecurityPolicy
3f3c6f
#ln -snf /usr/share/X11/fonts $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts
3f3c6f
#ln -snf /usr/share/X11/rgb.txt  $RPM_BUILD_ROOT/usr/X11R6/lib/X11/rgb.txt
3f3c6f
3f3c6f
# According to https://bugzilla.redhat.com/show_bug.cgi?id=232918 , the '-static' option
3f3c6f
# is imported against segfault error while running redhat_lsb_trigger
3f3c6f
%ifarch %{arm}
3f3c6f
gcc $RPM_OPT_FLAGS -Os -fno-stack-protector -o redhat_lsb_trigger{.%{_target_cpu},.c} -DLSBSOVER='"%{lsbsover}"' \
3f3c6f
  -DLDSO='"%{ldso}"' -DLSBLDSO='"/%{_lib}/%{lsbldso}"' -D_GNU_SOURCE
3f3c6f
%else
3f3c6f
gcc $RPM_OPT_FLAGS -Os -static -fno-stack-protector -o redhat_lsb_trigger{.%{_target_cpu},.c} -DLSBSOVER='"%{lsbsover}"' \
3f3c6f
  -DLDSO='"%{ldso}"' -DLSBLDSO='"/%{_lib}/%{lsbldso}"' -D_GNU_SOURCE
3f3c6f
%endif
3f3c6f
install -p -m 700 redhat_lsb_trigger.%{_target_cpu} \
3f3c6f
  $RPM_BUILD_ROOT%{_sbindir}/redhat_lsb_trigger.%{_target_cpu}
3f3c6f
3f3c6f
cp -p redhat_lsb_init $RPM_BUILD_ROOT/bin/redhat_lsb_init
3f3c6f
3f3c6f
%triggerpostun -- glibc
3f3c6f
if [ -x /usr/sbin/redhat_lsb_trigger.%{_target_cpu} ]; then
3f3c6f
  /usr/sbin/redhat_lsb_trigger.%{_target_cpu}
3f3c6f
fi
3f3c6f
3f3c6f
%postun submod-security -p <lua>
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}/submodules")
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}/modules")
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}")
3f3c6f
os.remove("%{_datadir}/lsb")
3f3c6f
%postun submod-multimedia -p <lua>
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}/submodules")
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}/modules")
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}")
3f3c6f
os.remove("%{_datadir}/lsb")
3f3c6f
%postun core -p <lua> 
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}/submodules")
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}/modules")
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}")
3f3c6f
os.remove("%{_datadir}/lsb")
3f3c6f
%postun cxx -p <lua> 
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}/submodules")
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}/modules")
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}")
3f3c6f
os.remove("%{_datadir}/lsb")
3f3c6f
%postun desktop -p <lua> 
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}/submodules")
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}/modules")
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}")
3f3c6f
os.remove("%{_datadir}/lsb")
3f3c6f
%postun languages -p <lua> 
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}/submodules")
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}/modules")
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}")
3f3c6f
os.remove("%{_datadir}/lsb")
3f3c6f
%postun printing -p <lua> 
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}/submodules")
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}/modules")
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}")
3f3c6f
os.remove("%{_datadir}/lsb")
3f3c6f
%postun trialuse -p <lua> 
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}/submodules")
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}/modules")
3f3c6f
os.remove("%{_datadir}/lsb/%{lsbrelver}")
3f3c6f
os.remove("%{_datadir}/lsb")
3f3c6f
3f3c6f
%files
3f3c6f
%{_datadir}/lsb/
3f3c6f
3f3c6f
%files submod-security
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/security-%{lsbrelver}-%{archname}
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/security-%{lsbrelver}-noarch
3f3c6f
3f3c6f
%files submod-multimedia
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/multimedia-%{lsbrelver}-%{archname}
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/multimedia-%{lsbrelver}-noarch
3f3c6f
3f3c6f
%files core
3f3c6f
%doc README README.lsb_release
3f3c6f
%license COPYING
3f3c6f
%{_sysconfdir}/redhat-lsb
3f3c6f
%dir %{_sysconfdir}/lsb-release.d
3f3c6f
%{_mandir}/*/*
3f3c6f
%{_bindir}/*
3f3c6f
#/bin/mailx
3f3c6f
/bin/redhat_lsb_init
3f3c6f
/usr/lib/lsb
3f3c6f
/%{_lib}/*so*
3f3c6f
/lib/lsb*
3f3c6f
%{_sbindir}/redhat_lsb_trigger.%{_target_cpu}
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/modules/core
3f3c6f
%{_sysconfdir}/lsb-release.d/core*
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/core-%{lsbrelver}-%{archname}
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/core-%{lsbrelver}-noarch
3f3c6f
3f3c6f
%files cxx
3f3c6f
%{_sysconfdir}/lsb-release.d/cxx*
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/modules/cxx
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/cpp-%{lsbrelver}-%{archname}
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/cpp-%{lsbrelver}-noarch
3f3c6f
3f3c6f
%files desktop
3f3c6f
%{_sysconfdir}/lsb-release.d/desktop*
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/modules/desktop
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/toolkit-gtk-%{lsbrelver}-%{archname}
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/toolkit-gtk-%{lsbrelver}-noarch
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/xml-%{lsbrelver}-%{archname}
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/xml-%{lsbrelver}-noarch
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/desktop-misc-%{lsbrelver}-%{archname}
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/desktop-misc-%{lsbrelver}-noarch
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/graphics-%{lsbrelver}-%{archname}
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/graphics-%{lsbrelver}-noarch
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/graphics-ext-%{lsbrelver}-%{archname}
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/graphics-ext-%{lsbrelver}-noarch
3f3c6f
3f3c6f
%files languages
3f3c6f
%{_sysconfdir}/lsb-release.d/languages*
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/modules/languages
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/perl-%{lsbrelver}-%{archname}
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/perl-%{lsbrelver}-noarch
3f3c6f
%{perl_vendorlib}/Locale/Constants.pm
3f3c6f
%{perl_vendorlib}/Locale/Constants.pod
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/python-%{lsbrelver}-%{archname}
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/python-%{lsbrelver}-noarch
3f3c6f
3f3c6f
%files printing
3f3c6f
%{_sysconfdir}/lsb-release.d/printing*
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/modules/printing
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/printing-%{lsbrelver}-%{archname}
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/submodules/printing-%{lsbrelver}-noarch
3f3c6f
3f3c6f
%files trialuse
3f3c6f
%{_sysconfdir}/lsb-release.d/trialuse*
3f3c6f
%{_datadir}/lsb/%{lsbrelver}/modules/trialuse
3f3c6f
3f3c6f
%files supplemental
3f3c6f
#no files, just dependencies
3f3c6f
3f3c6f
3f3c6f
%changelog
ddf043
* Thu Aug 01 2019 CentOS Sources <bugs@centos.org> - 4.1-47.el8.centos
ddf043
- Apply debranding changes
ddf043
3f3c6f
* Tue Oct 09 2018 Lukas Nykryn <lnykryn@redhat.com> - 4.1-47
3f3c6f
- drop the trigger on glibc to re-establish the ld-lsb.so.1 symlink in the
3f3c6f
  forced downgrade case
3f3c6f
3f3c6f
* Thu Aug 09 2018 Lukas Nykryn <lnykryn@redhat.com> - 4.1-46
3f3c6f
- drop dependency on qt
3f3c6f
3f3c6f
* Mon Jul 09 2018 Lukas Nykryn <lnykryn@redhat.com> - 4.1-45
3f3c6f
- drop dependency on qt3 and python2
3f3c6f
3f3c6f
* Mon Feb 19 2018 Parag Nemade <pnemade AT redhat DOT com> - 4.1-44
3f3c6f
- Add BuildRequires: gcc as per packaging guidelines
3f3c6f
3f3c6f
* Tue Feb 13 2018 Than Ngo <than@redhat.com> - 4.1-43
3f3c6f
- fixed FTBS
3f3c6f
3f3c6f
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-42
3f3c6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3f3c6f
3f3c6f
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.1-41
3f3c6f
- greps are now in /usr/bin
3f3c6f
3f3c6f
* Mon Nov 13 2017 Sébastien Santoro <dereckson@espace-win.org> - 4.1-40
3f3c6f
- Resolves:rh#1512650: /bin/mailx is still in /bin
3f3c6f
3f3c6f
* Mon Nov 13 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.1-39
3f3c6f
- /bin/ed is in /usr/bin/ed now
3f3c6f
- /usr/bin/*grep are in /bin still
3f3c6f
3f3c6f
* Thu Nov 09 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.1-38
3f3c6f
- change /bin requirements to /usr/bin
3f3c6f
3f3c6f
* Mon Nov 06 2017 Ondrej Vasik <ovasik@redhat.com> - 4.1-37
3f3c6f
- drop the postscriptlet specific for itanium completely(#1508613)
3f3c6f
3f3c6f
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-36
3f3c6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
3f3c6f
3f3c6f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-35
3f3c6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3f3c6f
3f3c6f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-34
3f3c6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3f3c6f
3f3c6f
* Thu Nov 10 2016 Ondrej Vasik <ovasik@redhat.com> - 4.1-33
3f3c6f
- require ncurses-compat-libs - as LSB strictly requires libncurses.so.5
3f3c6f
  (#1392972)
3f3c6f
3f3c6f
* Tue Feb 23 2016 Parag Nemade <pnemade AT redhat DOT com> - 4.1-32
3f3c6f
- Resolves:rh#1307989: FTBFS in rawhide by adding perl-Getopt-Long in BuildRequires
3f3c6f
- Drop Group: tag
3f3c6f
- Added %%license tag
3f3c6f
- Changed %%define -> %%global
3f3c6f
3f3c6f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-31
3f3c6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3f3c6f
3f3c6f
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-30
3f3c6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3f3c6f
3f3c6f
* Wed Aug 27 2014 Parag <pnemade AT redhat DOT com> - 4.1-29
3f3c6f
- Resolves:rh#1133536 - redhat-lsb does not requires /usr/sbin/sendmail
3f3c6f
3f3c6f
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-28
3f3c6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3f3c6f
3f3c6f
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-27
3f3c6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3f3c6f
3f3c6f
* Tue May 06 2014 Ondrej Vasik <ovasik@redhat.com> - 4.1-26
3f3c6f
- add support for ppc64le (#1094371)
3f3c6f
3f3c6f
* Wed Apr 23 2014 Peter Robinson <pbrobinson@fedoraproject.org> 4.1-25
3f3c6f
- Update aarch64 patch
3f3c6f
3f3c6f
* Mon Nov 25 2013 Ondrej Vasik <ovasik@redhat.com> - 4.1-24
3f3c6f
- remove nsswitch handling - broken and unnecessary
3f3c6f
  (#986728, #915147)
3f3c6f
3f3c6f
* Tue Oct 29 2013 Ondrej Vasik <ovasik@redhat.com> - 4.1-23
3f3c6f
- fuser moved from /sbin to /usr/sbin/ (#1023283)
3f3c6f
3f3c6f
* Thu Oct 17 2013 Ondrej Vasik <ovasik@redhat.com> - 4.1-22
3f3c6f
- pidof moved from /sbin to /usr/bin/ as part of the
3f3c6f
  transfer to procps-ng package
3f3c6f
3f3c6f
* Wed Oct 16 2013 Ondrej Vasik <ovasik@redhat.com> - 4.1-21
3f3c6f
- fix the broken dependency caused by hostname move after
3f3c6f
  recent post UsrMove cleanup
3f3c6f
3f3c6f
* Tue Aug 13 2013 Ondrej Vasik <ovasik@redhat.com> - 4.1-20
3f3c6f
- fix the patch for aarch64 support to be not patch of
3f3c6f
  patch but real patch (sorry, simply, fix aarch64 build)
3f3c6f
3f3c6f
* Thu Aug 08 2013 Ondrej Vasik <ovasik@redhat.com> - 4.1-19
3f3c6f
- Require sil-abyssinica-fonts in supplemental(#994341)
3f3c6f
- Fully specify requirements on subpackages(#971386)
3f3c6f
3f3c6f
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 4.1-18
3f3c6f
- Perl 5.18 rebuild
3f3c6f
3f3c6f
* Fri Jul 26 2013 Dennis Gilmore <dennis@ausil.us> - 4.1-17
3f3c6f
- dont use -static when compiling redhat_lsb_trigger on arm
3f3c6f
3f3c6f
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 4.1-16
3f3c6f
- Perl 5.18 rebuild
3f3c6f
3f3c6f
* Tue Jun 11 2013 Ondrej Vasik <ovasik@redhat.com> - 4.1-15
3f3c6f
- fix build on aarch64 (#973343)
3f3c6f
- fix the defines for arm and aarch64 (may need adjustment)
3f3c6f
3f3c6f
* Thu May 23 2013 Ondrej Vasik <ovasik@redhat.com> - 4.1-14
3f3c6f
- require spax instead of pax (more POSIX compatible) (#965658)
3f3c6f
- require another set of perl modules in -languages (#959129)
3f3c6f
- polish a bit the nsswitch.conf hack - include mdns4_minimal (#915147)
3f3c6f
3f3c6f
* Tue Mar 12 2013 Ondrej Vasik <ovasik@redhat.com> - 4.1-13
3f3c6f
- require /usr/bin/cpio (binary moved as part of UsrMove)
3f3c6f
3f3c6f
* Fri Mar 01 2013 Ondrej Vasik <ovasik@redhat.com> - 4.1-12
3f3c6f
- require perl(Pod::Checker), perl(B::Lint) and
3f3c6f
  perl(Text::Soundex) in languages (#916898)
3f3c6f
3f3c6f
* Fri Feb 08 2013 Ondrej Vasik <ovasik@redhat.com> - 4.1-11
3f3c6f
- require perl(Pod::LaTeX) in languages (#908705)
3f3c6f
- require xorg-x11-server-Xvfb in supplemental (#896058)
3f3c6f
3f3c6f
* Thu Jan 10 2013 Ondrej Vasik <ovasik@redhat.com> - 4.1-10
3f3c6f
- require abattis-cantarell-fonts in supplemental (#892998)
3f3c6f
3f3c6f
* Fri Dec 14 2012 Ondrej Vasik <ovasik@redhat.com> - 4.1-9
3f3c6f
- ship README and COPYING file in -core subpackage
3f3c6f
  (#887195)
3f3c6f
3f3c6f
* Wed Dec 12 2012 Ondrej Vasik <ovasik@redhat.com> - 4.1-8
3f3c6f
- require libpng12.so.0 in other architectures (#881596)
3f3c6f
3f3c6f
* Wed Dec 05 2012 Ondrej Vasik <ovasik@redhat.com> - 4.1-7
3f3c6f
- add new subpackage -supplemental for LSB testuite-only dependencies
3f3c6f
- require net-tools in -supplemental (#882122)
3f3c6f
- require xorg-x11-fonts-ISO8859-1-{75,100}dpi in -supplemental
3f3c6f
  (#883385)
3f3c6f
- require perl(XML::LibXML) (#880954)
3f3c6f
- keep usermodified /etc/nsswitch.conf as /etc/nsswitch.conf.rpmsave,
3f3c6f
  warn about modification (#867124)
3f3c6f
3f3c6f
* Mon Nov 05 2012 Parag <pnemade AT redhat DOT com> - 4.1-6
3f3c6f
- Resolves:rh#873066 - missing dependency /bin/su moved to /usr/bin/su
3f3c6f
3f3c6f
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-5
3f3c6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3f3c6f
3f3c6f
* Tue May 29 2012 xning <xning AT redhat DOT com> - 4.1-4
3f3c6f
- Resolves:rh:#825261: redhat-lsb scripts blow away my /etc/nsswitch.conf
3f3c6f
3f3c6f
* Wed May 23 2012 Parag <pnemade AT redhat DOT com> - 4.1-3
3f3c6f
- Resolves:rh#824305: Dependency glibc-common%%{?_isa} should be changed to glibc-common only
3f3c6f
3f3c6f
* Mon May 14 2012 xning <xning AT redhat DOT com> - 4.1-2
3f3c6f
- Resolves:rh:#806190: gethostbyaddr sets h_errno to 3, not HOST_NOT_FOUND
3f3c6f
- Resolves:rh:#799284: perl(Pod::Plainer) is required by LSB 4.1
3f3c6f
- Resolves:rh:#821308: redhat-lsb 4.1 test libpn12.so.0 failed on fedora 17
3f3c6f
3f3c6f
* Mon Mar 19 2012 xning <xning AT redhat DOT com> - 4.1-1
3f3c6f
- Update to 4.1 release
3f3c6f
- Added -core, -cxx, -desktop, -languages, -printing modules as subpackages
3f3c6f
- Added submod-security, -submod-multimedia subpackages
3f3c6f
- Implements http://refspecs.linux-foundation.org/LSB_4.1.0/ 
3f3c6f
- Resolves:rh#800249: new package update review by Parag.
3f3c6f
3f3c6f
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-11
3f3c6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3f3c6f
3f3c6f
* Wed Nov 30 2011 Parag <pnemade AT redhat DOT com> - 4.0-10
3f3c6f
- Resolves:rh#758383:- redhat-lsb does not pull in required perl-Pod-Perldoc
3f3c6f
3f3c6f
* Wed Nov 30 2011 Parag <pnemade AT redhat DOT com> - 4.0-9
3f3c6f
- Resolves:rh#738256:- redhat-lsb fails to build on ARM
3f3c6f
3f3c6f
* Thu Oct 13 2011 Parag <pnemade AT redhat DOT com> - 4.0-8
3f3c6f
- Resolves:rh#745100: Add requires: perl-Digest-MD5
3f3c6f
3f3c6f
* Wed Oct 12 2011 Parag <pnemade AT redhat DOT com> - 4.0-7
3f3c6f
- Resolves:rh#654689,rh#736822
3f3c6f
- Added dependencies for perl-Locale-Codes and perl-Class-ISA
3f3c6f
3f3c6f
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-6
3f3c6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3f3c6f
3f3c6f
* Fri Jul 09 2010 Parag <pnemade AT redhat.com> - 4.0-5
3f3c6f
- Fix directory ownership issue for %%{_sysconfdir}/lsb-release.d
3f3c6f
- Fix duplicate files issue as reported in bodhi testing for 4.0-4
3f3c6f
3f3c6f
* Fri Jun 25 2010 Parag <pnemade AT redhat.com> - 4.0-4
3f3c6f
- Revert license back to GPLv2
3f3c6f
3f3c6f
* Thu Jun 24 2010 Parag <pnemade AT redhat.com> - 4.0-3
3f3c6f
- Resolves:rh#585858:-redhat-lsb-graphics broken
3f3c6f
3f3c6f
* Fri Jan 15 2010 Lawrence Lim <llim@redhat.com> - 4.0-2
3f3c6f
- update spec file to split package into core, desktop and printing (Curtis Doty, #472633)
3f3c6f
3f3c6f
* Fri Jan 8 2010 Lawrence Lim <llim@redhat.com> - 4.0-1
3f3c6f
- update to LSB4.0
3f3c6f
3f3c6f
* Tue Oct 27 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 3.2-7
3f3c6f
- apply fix from bz514760 (thanks to Jakub Jelinek)
3f3c6f
3f3c6f
* Wed Oct 21 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 3.2-6
3f3c6f
- apply fix from bz485367 (thanks to Jon Thomas)
3f3c6f
3f3c6f
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-5
3f3c6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3f3c6f
3f3c6f
* Fri Apr 24 2009 Jens Petersen <petersen@redhat.com>
3f3c6f
- improve url to LSB WG
3f3c6f
3f3c6f
* Thu Apr 23 2009 Jens Petersen <petersen@redhat.com> - 3.2-4
3f3c6f
- use dist tag (Debarshi, #496553)
3f3c6f
- update to ix86 (caillon)
3f3c6f
3f3c6f
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-3
3f3c6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3f3c6f
3f3c6f
* Thu Aug 28 2008 Hao Liu <hliu@redhat.com> 3.2-2
3f3c6f
- Modify "Requires: /usr/bin/mailx" to "Requires: mailx" (Bug #460249)
3f3c6f
3f3c6f
* Wed Aug 20 2008 Hao Liu <hliu@redhat.com> 3.2-1
3f3c6f
- Port forward to LSB 3.2
3f3c6f
- Remove symlink for mailx if user is upgrading from the redhat-lsb of older version 
3f3c6f
- Since F10 put mailx under /usr/bin, change the corresponding requires
3f3c6f
3f3c6f
* Tue Aug 5 2008 Hao Liu <hliu@redhat.com> - 3.1-22
3f3c6f
- Remove 2 requires which provided by redhat-lsb
3f3c6f
- Add comments explaining why hard-coded path is kept
3f3c6f
- Resolve some hard-coded path problems
3f3c6f
- Add comments explaining why importing '-static' option while compiling redhat_lsb_trigger
3f3c6f
- Replace %%{_libdir}/lsb with /usr/lib/lsb
3f3c6f
- Replace /%%{_lib}/* with /%%{_lib}/*so*
3f3c6f
- Replace /lib/lsb with /lib/lsb*
3f3c6f
3f3c6f
* Thu Jul 31 2008 Lawrence Lim <llim@redhat.com> - 3.1-21
3f3c6f
- remove symlink for mailx (Bug #457241)
3f3c6f
3f3c6f
* Wed Apr 16 2008 Mats Wichmann <mats@freestandards.org> 3.2-1
3f3c6f
- port forward to LSB 3.2
3f3c6f
3f3c6f
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.1-20
3f3c6f
- Autorebuild for GCC 4.3
3f3c6f
3f3c6f
* Wed Oct 3 2007 Lawrence Lim <llim@redhat.com> - 3.1-19
3f3c6f
- fix build issue on ppc - (.opd+0x10): multiple definition of `__libc_start_main'
3f3c6f
3f3c6f
* Fri Sep 21 2007 Lawrence Lim <llim@redhat.com> - 3.1-18
3f3c6f
- fix build issue in minimal build root (Bug #265241)
3f3c6f
3f3c6f
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 3.1-17
3f3c6f
- Rebuild for selinux ppc32 issue.
3f3c6f
3f3c6f
* Mon Aug 20 2007 Lawrence Lim <llim@redhat.com> - 3.1-16
3f3c6f
- update spec file in accordance to feedback provided through merge review - merge-review.patch - #226363
3f3c6f
3f3c6f
* Wed Jul 18 2007 Lawrence Lim <llim@redhat.com> - 3.1-15.f8
3f3c6f
- Resolved: #239842 - /lib/lsb/init-functions shall use aliases but not functions
3f3c6f
- forward port the patch from 3.1-12.3.EL which fix #217566, #233530, #240916
3f3c6f
3f3c6f
* Wed Jul 4 2007 Lawrence Lim <llim@redhat.com> - 3.1-14.fc7
3f3c6f
- fixed Bug 232918 for new glibc version
3f3c6f
3f3c6f
* Tue Jun 26 2007 Lawrence Lim <llim@redhat.com> - 3.1-12.3.EL
3f3c6f
- Resolves: #217566 - rewrite /lib/lsb/init-functions file needs to define the commands as true shell functions rather than aliases.
3f3c6f
- Resolves: #233530 - LSB pidofproc misspelled as pidofprof.
3f3c6f
- Resolves: #240916 - "log_warning_message" replaced with "log_warning_msg" per the LSB 3.1 spec
3f3c6f
3f3c6f
* Wed Dec 6 2006 Lawrence Lim <llim@redhat.com> - 3.1-12.2.EL
3f3c6f
- Resolves: bug 217566
3f3c6f
- revise patch
3f3c6f
3f3c6f
* Wed Nov 29 2006 Lawrence Lim <llim@redhat.com> - 3.1-12
3f3c6f
- replaced aliases with functions in /lib/lsb/init-functions; Bug 217566
3f3c6f
3f3c6f
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 3.1-11
3f3c6f
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
3f3c6f
3f3c6f
* Thu Sep 21 2006 Lawrence Lim <llim@redhat.com> - 3.1-10.3
3f3c6f
- Fix upgrade issue; Bug 202548 
3f3c6f
3f3c6f
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.1-10.2.1
3f3c6f
- rebuild
3f3c6f
3f3c6f
* Thu Jul 6 2006 Lawrence Lim <llim@redhat.com> - 3.1-10.2
3f3c6f
- for some strange reason, ld-lsb-x86-64.so need to be ld-lsb-x86-64.so.3 (LSB3.0) rather than ld-lsb-x86-64.so.3.1 (LSB3.1)
3f3c6f
3f3c6f
* Thu Jul 6 2006 Lawrence Lim <llim@redhat.com> - 3.1-10.1
3f3c6f
- generate spec file on RHEL5-Alpha system
3f3c6f
- fix vsw4 test suite setup by creating symlink for X11 SecurityPolicy and XFontPath
3f3c6f
3f3c6f
* Thu Jun 22 2006 Lawrence Lim <llim@redhat.com> - 3.0-10
3f3c6f
- Rewrite most part of the mkredhat-lsb to obtain information directly via specdb 
3f3c6f
  rather than sniffing through sgml
3f3c6f
- remove redundent script and bump up tarball version
3f3c6f
3f3c6f
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.0-9.2
3f3c6f
- bump again for double-long bug on ppc(64)
3f3c6f
3f3c6f
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.0-9.1
3f3c6f
- rebuilt for new gcc4.1 snapshot and glibc changes
3f3c6f
3f3c6f
* Fri Jan 13 2006 Leon Ho <llch@redhat.com> 3.0-9
3f3c6f
- Migrated back to rawhide
3f3c6f
3f3c6f
* Wed Aug  3 2005 Leon Ho <llch@redhat.com> 3.0-8.EL
3f3c6f
- Added libstdc++.so.6/libGL.so.1 requirement (RH#154605)
3f3c6f
3f3c6f
* Wed Aug  3 2005 Leon Ho <llch@redhat.com> 3.0-7.EL
3f3c6f
- Fixed multilib problem on lsb_release not to read /etc/lsb-release and solely
3f3c6f
  depends on /etc/lsb-release.d/ (Advised by LSB committee)
3f3c6f
- Removed /etc/lsb-release (Advised by LSB committee)
3f3c6f
3f3c6f
* Mon Aug  1 2005 Leon Ho <llch@redhat.com> 3.0-6.EL
3f3c6f
- Made the /etc/lsb-release useful (RH#154605)
3f3c6f
- Added redhat_lsb_trigger to fix RH#160585 (Jakub Jelinek)
3f3c6f
- Fixed AMD64 base libraries requirement parsing (RH#154605)
3f3c6f
3f3c6f
* Tue Jul 26 2005 Leon Ho <llch@redhat.com> 3.0-5.EL
3f3c6f
- Fixed redhat-lsb's mkredhat-lsb on fetching lib and 
3f3c6f
  cmd requirements
3f3c6f
3f3c6f
* Mon Jul 18 2005 Leon Ho <llch@redhat.com> 3.0-4.EL
3f3c6f
- Rebuilt
3f3c6f
3f3c6f
* Tue Jul 05 2005 Leon Ho <llch@redhat.com> 3.0-3.EL
3f3c6f
- Disabled support for LSB 1.3 and 2.0
3f3c6f
3f3c6f
* Mon Jun 20 2005 Leon Ho <llch@redhat.com> 3.0-2.EL
3f3c6f
- Upgraded to lsb-release 2.0
3f3c6f
3f3c6f
* Thu Jun 09 2005 Leon Ho <llch@redhat.com> 3.0-1.EL
3f3c6f
- Moved to LSB 3.0
3f3c6f
3f3c6f
* Wed Apr 13 2005 Leon Ho <llch@redhat.com> 1.3-10
3f3c6f
- Fixed ix86 package with ia32 emul support 
3f3c6f
3f3c6f
* Tue Feb 01 2005 Leon Ho <llch@redhat.com> 1.3-9
3f3c6f
- Sync what we have changed on the branches
3f3c6f
  Wed Nov 24 2004 Harald Hoyer <harald@redhat.com>
3f3c6f
  - added post section to recreate the softlink in emul mode (bug 140739)
3f3c6f
  Mon Nov 15 2004 Phil Knirsch <pknirsch@redhat.com>
3f3c6f
  Tiny correction of bug in new triggers
3f3c6f
3f3c6f
* Mon Jan 24 2005 Leon Ho <llch@redhat.com> 1.3-8
3f3c6f
- Add support provide on lsb-core-* for each arch
3f3c6f
3f3c6f
* Fri Jan 21 2005 Leon Ho <llch@redhat.com> 1.3-7
3f3c6f
- Add to support multiple LSB test suite version
3f3c6f
- Add %%endif in trigger postun
3f3c6f
3f3c6f
* Thu Nov 11 2004 Phil Knirsch <pknirsch@redhat.com> 1.3-6
3f3c6f
- Fixed invalid sln call for trigger in postun on ia64 (#137647)
3f3c6f
3f3c6f
* Mon Aug 09 2004 Phil Knirsch <pknirsch@redhat.com> 1.3-4
3f3c6f
- Bump release and rebuilt for RHEL4.
3f3c6f
3f3c6f
* Thu Jul 24 2003 Matt Wilson <msw@redhat.com> 1.3-3
3f3c6f
- fix lsb ld.so name for ia64 (#100613)
3f3c6f
3f3c6f
* Fri May 23 2003 Matt Wilson <msw@redhat.com> 1.3-2
3f3c6f
- use /usr/lib/lsb for install_initd, remove_initd
3f3c6f
3f3c6f
* Fri May 23 2003 Matt Wilson <msw@redhat.com> 1.3-2
3f3c6f
- add ia64 x86_64 ppc ppc64 s390 s390x
3f3c6f
3f3c6f
* Tue Feb 18 2003 Matt Wilson <msw@redhat.com> 1.3-1
3f3c6f
- 1.3
3f3c6f
3f3c6f
* Wed Sep  4 2002 Matt Wilson <msw@redhat.com>
3f3c6f
- 1.2.0
3f3c6f
3f3c6f
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
3f3c6f
- automated rebuild
3f3c6f
3f3c6f
* Thu May 23 2002 Tim Powers <timp@redhat.com>
3f3c6f
- automated rebuild
3f3c6f
3f3c6f
* Wed Mar 27 2002 Matt Wilson <msw@redhat.com>
3f3c6f
- addeed trigger on glibc to re-establish the ld-lsb.so.1 symlink in the
3f3c6f
  forced downgrade case.
3f3c6f
3f3c6f
* Tue Mar 12 2002 Bill Nottingham <notting@redhat.com>
3f3c6f
- add initscripts support
3f3c6f
3f3c6f
* Thu Jan 24 2002 Matt Wilson <msw@redhat.com>
3f3c6f
- Initial build.