teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0126-Revert-man-switch-yum-to-dnf-for-Fedora.patch

923a60
From 597856130181473bff35f225d87b05c5825b1670 Mon Sep 17 00:00:00 2001
923a60
From: Lukas Nykryn <lnykryn@redhat.com>
923a60
Date: Wed, 15 Apr 2015 14:04:52 +0200
923a60
Subject: [PATCH] Revert "man: switch yum to dnf for Fedora"
923a60
923a60
This reverts commit 74a6d87d0cd1f2213869e168b6ca55eded6f4ae8.
923a60
923a60
Conflicts:
923a60
	man/systemd-nspawn.xml
923a60
---
923a60
 man/custom-html.xsl    | 12 ------------
923a60
 man/systemd-nspawn.xml |  4 +---
923a60
 2 files changed, 1 insertion(+), 15 deletions(-)
923a60
923a60
diff --git a/man/custom-html.xsl b/man/custom-html.xsl
923a60
index 706b95a1c4..1df824cbbc 100644
923a60
--- a/man/custom-html.xsl
923a60
+++ b/man/custom-html.xsl
923a60
@@ -60,18 +60,6 @@
923a60
   
923a60
 </xsl:template>
923a60
 
923a60
-<xsl:template match="citerefentry[@project='mankier']">
923a60
-  
923a60
-    <xsl:attribute name="href">
923a60
-      <xsl:text>https://www.mankier.com/</xsl:text>
923a60
-      <xsl:value-of select="manvolnum"/>
923a60
-      <xsl:text>/</xsl:text>
923a60
-      <xsl:value-of select="refentrytitle"/>
923a60
-    </xsl:attribute>
923a60
-    <xsl:call-template name="inline.charseq"/>
923a60
-  
923a60
-</xsl:template>
923a60
-
923a60
 <xsl:template match="citerefentry[@project='archlinux']">
923a60
   
923a60
     <xsl:attribute name="href">
923a60
diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml
923a60
index 65b4c2f294..cbd44d4aba 100644
923a60
--- a/man/systemd-nspawn.xml
923a60
+++ b/man/systemd-nspawn.xml
923a60
@@ -98,7 +98,6 @@
923a60
     container.</para>
923a60
 
923a60
     <para>Use a tool like
923a60
-    <citerefentry project='mankier'><refentrytitle>dnf</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
923a60
     <citerefentry project='die-net'><refentrytitle>yum</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
923a60
     <citerefentry project='die-net'><refentrytitle>debootstrap</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
923a60
     or
923a60
@@ -668,7 +667,7 @@
923a60
     <example>
923a60
       <title>Build and boot a minimal Fedora distribution in a container</title>
923a60
 
923a60
-      <programlisting># dnf -y --releasever=21 --nogpg --installroot=/srv/mycontainer --disablerepo='*' --enablerepo=fedora install systemd passwd dnf fedora-release vim-minimal
923a60
+      <programlisting># yum -y --releasever=21 --nogpg --installroot=/srv/mycontainer --disablerepo='*' --enablerepo=fedora install systemd passwd yum fedora-release vim-minimal
923a60
 # systemd-nspawn -bD /srv/mycontainer</programlisting>
923a60
 
923a60
       <para>This installs a minimal Fedora distribution into the
923a60
@@ -729,7 +728,6 @@
923a60
     <para>
923a60
       <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
923a60
       <citerefentry project='man-pages'><refentrytitle>chroot</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
923a60
-      <citerefentry project='mankier'><refentrytitle>dnf</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
923a60
       <citerefentry project='die-net'><refentrytitle>yum</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
923a60
       <citerefentry project='die-net'><refentrytitle>debootstrap</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
923a60
       <citerefentry project='archlinux'><refentrytitle>pacman</refentrytitle><manvolnum>8</manvolnum></citerefentry>,