Browse Source

Fedora Core->Fedora; yum->dnf.

Closes 18426 and 18459.
Nick Mathewson 4 years ago
parent
commit
ffc25bc908
3 changed files with 6 additions and 2 deletions
  1. 1 1
      acinclude.m4
  2. 4 0
      changes/bug18426_18459
  3. 1 1
      doc/contrib/tor-rpm-creation.txt

+ 1 - 1
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 

+ 4 - 0
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".

+ 1 - 1
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: