Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1039410 Details for
Bug 1156554
[rfe] use dnf instead of yum
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Basic dnf support
dnf.patch (text/plain), 2.99 KB, created by
Michael Mráka
on 2015-06-16 11:58:25 UTC
(
hide
)
Description:
Basic dnf support
Filename:
MIME Type:
Creator:
Michael Mráka
Created:
2015-06-16 11:58:25 UTC
Size:
2.99 KB
patch
obsolete
>diff -ur fontpackages-1.44.orig/bin/repo-font-audit fontpackages-1.44/bin/repo-font-audit >--- fontpackages-1.44.orig/bin/repo-font-audit 2010-06-13 16:43:19.000000000 +0200 >+++ fontpackages-1.44/bin/repo-font-audit 2015-06-16 13:51:53.739107822 +0200 >@@ -1,5 +1,5 @@ > #!/bin/sh >-# Quick and dirty script to audit font use in a yum package repository >+# Quick and dirty script to audit font use in a package repository > # > # It is slow, it is ugly, and it requires a good network connection > >@@ -332,7 +332,7 @@ > > echo "Looking for packages:" > echo "â with font metadataâ¦" >-repoquery --repofrompath=$REPOID,$FREPOURL --repoid=$REPOID \ >+$REPOQUERY --repofrompath=$REPOID,$FREPOURL --repoid=$REPOID \ > --qf "%{sourcerpm}|%{name}|%{epoch}:%{version}-%{release}|%{arch}|%{packagesize}|M" \ > --whatprovides "font(*)" --quiet \ > | sort | uniq \ >@@ -340,7 +340,7 @@ > > "$FPL" > > echo "â that include files with common font extensionsâ¦" >-repoquery --repofrompath=$REPOID,$FREPOURL --repoid=$REPOID \ >+$REPOQUERY --repofrompath=$REPOID,$FREPOURL --repoid=$REPOID \ > --qf "%{sourcerpm}|%{name}|%{epoch}:%{version}-%{release}|%{arch}|%{packagesize}|E" \ > -f '*.ttf' -f '*.otf' -f '*.ttc' \ > -f '*.pfb' -f '*.pfa' \ >@@ -350,7 +350,7 @@ > > "$PWFL" > > echo "â that use the core X11 protocolâ¦" >-repoquery --repofrompath=$REPOID,$FREPOURL --repoid=$REPOID \ >+$REPOQUERY --repofrompath=$REPOID,$FREPOURL --repoid=$REPOID \ > --qf "%{sourcerpm}|%{name}|%{epoch}:%{version}-%{release}|%{arch}|%{packagesize}|X" \ > --whatrequires 'libX11.so*' \ > | sort | uniq \ >@@ -386,7 +386,7 @@ > echo -n "â $rpm â" > mkdir "$rpmd" > cd "$rpmd" >- rpm_loc=$(repoquery --repofrompath=$REPOID,$REPOURL --repoid=$REPOID \ >+ rpm_loc=$($REPOQUERY --repofrompath=$REPOID,$REPOURL --repoid=$REPOID \ > --location "$rpm" 2>/dev/null \ > | fix_url) > if $(echo "$rpm_loc" | grep -q -e '^[\./~]') ; then >@@ -1018,12 +1018,12 @@ > text library such as pango, pango-cairo, harfbuzz, or QT) > > You can self-check your packages at any time by: >-1. installing createrepo and fontpackages-tools: >-# yum install createrepo fontpackages-tools >+1. installing $CREATEREPO and fontpackages-tools: >+# $YUM install $CREATEREPO fontpackages-tools > 2. putting your packages and any font package they depends on in a > test directory >-3. indexing this directory with createrepo: >-$ createrepo path-to-test-directory >+3. indexing this directory with $CREATEREPO: >+$ $CREATEREPO path-to-test-directory > 4. running repo-font-audit: > $ repo-font-audit test absolute-path-to-test-directory > >@@ -1163,6 +1163,15 @@ > SRES="repo-font-audit-$ID-$TIMESTAMP-short" > SPAM="repo-font-audit-$ID-$TIMESTAMP-mail" > >+if [ -x /usr/bin/dnf ] ; then >+ CREATEREPO='createrepo_c' >+ REPOQUERY='dnf repoquery' >+ YUM='dnf' >+else >+ CREATEREPO='createrepo' >+ REPOQUERY='repoquery' >+ YUM='yum' >+fi > TMPDIR=$(mktemp -d --tmpdir=/tmp $RES-XXXXXXXXXX) > cd $TMPDIR >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1156554
: 1039410 |
1039411