From ffc25bc908fc4e102d860560a4889184926b39d5 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 11 Mar 2016 09:13:33 -0500 Subject: [PATCH] Fedora Core->Fedora; yum->dnf. Closes 18426 and 18459. --- acinclude.m4 | 2 +- changes/bug18426_18459 | 4 ++++ doc/contrib/tor-rpm-creation.txt | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 changes/bug18426_18459 diff --git a/acinclude.m4 b/acinclude.m4 index 72593881e..7b1aab2f9 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -109,7 +109,7 @@ if test -f /etc/debian_version && test x"$tor_$1_$2_debian" != x; then fi fi if test -f /etc/fedora-release && test x"$tor_$1_$2_redhat" != x; then - AC_WARN([On Fedora Core, you can install$h $1 using "yum install $tor_$1_$2_redhat"]) + AC_WARN([On Fedora, you can install$h $1 using "dnf install $tor_$1_$2_redhat"]) if test x"$tor_$1_$2_redhat" != x"$tor_$1_devpkg_redhat"; then AC_WARN([ You will probably need to install $tor_$1_devpkg_redhat too.]) fi diff --git a/changes/bug18426_18459 b/changes/bug18426_18459 new file mode 100644 index 000000000..9059d6e47 --- /dev/null +++ b/changes/bug18426_18459 @@ -0,0 +1,4 @@ + o Documentation: + - Change build messages to refer to "Fedora" instead of "Fedora Core", + and "dnf" instead of "yum". Closes tickets 18459 and 18426. + Patches from "icanhasaccount" and "cypherpunks". diff --git a/doc/contrib/tor-rpm-creation.txt b/doc/contrib/tor-rpm-creation.txt index a03891e2b..9c4e05764 100644 --- a/doc/contrib/tor-rpm-creation.txt +++ b/doc/contrib/tor-rpm-creation.txt @@ -42,7 +42,7 @@ Here's a workaround: Before even building the source RPM, install fedora-packager and instruct the build system to use rpmbuild-md5 like this: -yum install fedora-packager +dnf install fedora-packager export RPMBUILD=rpmbuild-md5 Then proceed as usual to create the source RPM and binary RPMs: