Blame SPECS/redhat-lsb.spec

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