Browse Source

update to latest OSSP platform for even more accurate Linux product recognition

master
parent
commit
be2e2798c0
  1. 1
      openpkg/HISTORY
  2. 15
      openpkg/platform

1
openpkg/HISTORY

@ -2,6 +2,7 @@
2003
====
20030913 update to latest OSSP platform for even more accurate Linux product recognition
20030913 fix ordering of libraries in "rpm-config --libs"
20030912 add -pipe to %{l_cflags} only if %{l_cc} is GCC and as(1) is GNU as
20030912 remove per-package %{_sourcedir} and %{_specdir} directories on --rebuild

15
openpkg/platform

@ -381,12 +381,15 @@ case "${UNAME}" in
-e 's/^#[^0-9]*\([0-9][0-9]*\).*$/\1/' \
-e 's/^#.*$//'`
case "`util_lower ${n}`" in
debian ) n="Debian[ GNU/Linux]" ;;
redhat ) n="RedHat[ Linux]" ;;
suse ) n="SuSE[ Linux]" ;;
mandrake ) n="Mandrake[ Linux]" ;;
gentoo ) n="Gentoo[ Linux]" ;;
* ) n="${n}[ GNU/Linux]" ;;
debian ) n="Debian[ GNU/Linux]" ;;
redhat ) n="RedHat[ Linux]" ;;
suse ) n="SuSE[ Linux]" ;;
mandrake ) n="Mandrake[ Linux]" ;;
gentoo ) n="Gentoo[ Linux]" ;;
slackware ) n="Slackware[ Linux]" ;;
turbolinux ) n="TurboLinux" ;;
unitedlinux ) n="UnitedLinux" ;;
* ) n="${n}[ GNU/Linux]" ;;
esac
SP="$n $v"
break

Loading…
Cancel
Save