Compare commits

...
Sign in to create a new pull request.

7 commits

Author SHA1 Message Date
raveit65
011a4a6abb Revert "Add patch to hopefully close race condition in systemd builds"
This reverts commit f0b91355af.

Doesn't belongs in this branch, was done by a mistake with using merge from master.
2016-07-29 15:25:43 +02:00
raveit65
6651b2f7f6 Revert "Add patch to hopefully close race condition in systemd builds"
This reverts commit 6261eafeb9.

Doesn't belongs in this branch, was done by a mistake with using merge from master.
2016-07-29 15:23:46 +02:00
raveit65
5a369fd9d4 Revert "- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild"
This reverts commit 3e410e54fa.

Doesn't belongs in this branch, was done by a mistake with using merge from master.
2016-07-29 15:22:51 +02:00
raveit65
a0e4a6833b Revert "Depend on perl(Getopt::Long) (#1307638)"
This reverts commit 9fb2fcc791.

Doesn't belongs in this branch, was done by a mistake with using merge from master.
2016-07-29 15:21:12 +02:00
raveit65
40386f4fe7 Revert "Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl>"
This reverts commit 4f34106a98.
Doesn't belongs in this branch, was done by a mistake with using merge from master.
2016-07-29 15:17:50 +02:00
raveit65
272b3da9d9 Revert "fix usage of distcheck for some packages rhbz (#1318674)"
This reverts commit d2aa063191.
2016-07-29 15:17:13 +02:00
raveit65
d2aa063191 fix usage of distcheck for some packages rhbz (#1318674) 2016-07-29 14:28:00 +02:00
2 changed files with 2 additions and 65 deletions

View file

@ -1,38 +0,0 @@
From d328542bea50b9445c63cdf2454052392282a1ce Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Thu, 8 Oct 2015 16:25:47 -0400
Subject: [PATCH] intltool-merge: Create cache file atomically
It's going to be relatively common for build systems operating in
parallel to run multiple copies of `intltool-merge`, yet the cache
file is not created atomically (i.e. with the "open .tmp file and
rename()" dance).
I suspect (but have not yet determined conclusively) this is the cause
of some systemd build issues where translations don't appear in the
merged file.
Regardless, this patch can't hurt.
---
intltool-merge.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/intltool-merge.in b/intltool-merge.in
index 1afa2a4..d1eba8f 100644
--- a/intltool-merge.in
+++ b/intltool-merge.in
@@ -371,9 +371,10 @@ sub create_cache
&create_translation_database;
- open CACHE, ">$cache_file" || die;
+ open CACHE, ">$cache_file" . ".tmp" || die;
print CACHE join "\x01", %translations;
close CACHE;
+ rename("$cache_file" . ".tmp", "$cache_file");
}
sub load_cache
--
1.8.3.1

View file

@ -1,7 +1,7 @@
Name: intltool
Summary: Utility for internationalizing various kinds of data files
Version: 0.51.0
Release: 6%{?dist}
Release: 3%{?dist}
License: GPLv2 with exceptions
Group: Development/Tools
#VCS: bzr:https://code.edge.launchpad.net/~intltool/intltool/trunk
@ -12,10 +12,7 @@ Requires: patch
# for /usr/share/aclocal
Requires: automake
Requires: gettext-devel
Requires: perl(Getopt::Long)
Requires: perl(XML::Parser)
BuildRequires: perl-generators
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(XML::Parser)
BuildRequires: gettext
# http://bugzilla.gnome.org/show_bug.cgi?id=568845
@ -24,9 +21,6 @@ BuildRequires: gettext
# which has a sensible gettext integration.
#Patch0: schemas-merge.patch
Patch1: intltool-0.51.0-perl-5.22.patch
# https://bugs.launchpad.net/intltool/+bug/1505260
# https://bugzilla.redhat.com/show_bug.cgi?id=1249051
Patch2: intltool-merge-Create-cache-file-atomically.patch
%description
This tool automatically extracts translatable strings from oaf, glade,
@ -36,7 +30,6 @@ them in the po files.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%build
%configure
@ -47,13 +40,7 @@ make %{?_smp_mflags}
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%check
if ! make check; then
find . -type f -name 'test-suite.log' | while read trs; do
echo "BEGIN " ${trs}; cat ${trs} 1>&2;
done
echo "Exiting abnormally due to make check failure above" 1>&2
exit 1
fi
make check
%files
%doc AUTHORS README
@ -64,18 +51,6 @@ fi
%{_mandir}/man8/intltool*.8*
%changelog
* Tue Feb 16 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 0.51.0-6
- Depend on perl(Getopt::Long) (#1307638)
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.51.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Oct 12 2015 Colin Walters <walters@redhat.com> - 0.51.0-4
- Add patch to hopefully close race condition in systemd builds
- Related to https://bugzilla.redhat.com/show_bug.cgi?id=1249051
- And the test suite is failing but the logs are hidden under
test-suite.log, so copy some code I had in dbus.spec to cat them.
* Mon Jul 13 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.51.0-3
- Add intltool-0.51.0-perl-5.22.patch (Address RHBZ#1233444)
- Remove unnecessary %%debug_package.