Drop fuzzy translations patch

This commit is contained in:
Frank Dana (FeRD) 2020-09-21 20:47:25 +00:00 committed by FeRD (Frank Dana)
parent dca181db21
commit 1a48d6413b
2 changed files with 4 additions and 28 deletions

View File

@ -1,22 +0,0 @@
diff -up xdg-user-dirs-0.11/po/Makefile.in.in.use-fuzzy xdg-user-dirs-0.11/po/Makefile.in.in
--- xdg-user-dirs-0.11/po/Makefile.in.in.use-fuzzy 2008-10-24 04:17:03.000000000 -0400
+++ xdg-user-dirs-0.11/po/Makefile.in.in 2009-11-03 00:57:15.319114230 -0500
@@ -61,14 +61,14 @@ CATALOGS = @CATALOGS@
.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update
.po.mo:
- @echo "$(MSGFMT) -c -o $@ $<"; \
- $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+ @echo "$(MSGFMT) -c -f -o $@ $<"; \
+ $(MSGFMT) -c -f -o t-$@ $< && mv t-$@ $@
.po.gmo:
@lang=`echo $* | sed -e 's,.*/,,'`; \
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
- echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \
- cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c -f --statistics -o $${lang}.gmo $${lang}.po"; \
+ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c -f --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
.sin.sed:
sed -e '/^#/d' $< > t-$@

View File

@ -3,17 +3,13 @@
Name: xdg-user-dirs
Version: 0.17
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Handles user special directories
License: GPLv2+ and MIT
URL: http://freedesktop.org/wiki/Software/xdg-user-dirs
Source0: http://user-dirs.freedesktop.org/releases/%{name}-%{version}.tar.gz
# use fuzzy translations (for Downloads)
# https://bugzilla.redhat.com/show_bug.cgi?id=532399
Patch0: use-fuzzy.patch
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: docbook-style-xsl
@ -26,7 +22,6 @@ homedirectory based on the defaults configured by the administrator.
%prep
%setup -q
%patch0 -p1 -b .use-fuzzy
%build
%configure
@ -54,6 +49,9 @@ make update-gmo
%changelog
* Mon Sep 21 2020 FeRD (Frank Dana) <ferdnyc@gmail.com> - 0.17-7
- Drop fuzzy translations patch, no longer necessary
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild