Blame SPECS/redhat-lsb.spec

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