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