- Fake POT-Creation-Date to prevent multilib issues (#514990)

f38
Tomas Bzatek 15 years ago
parent 87771fc400
commit d3d6aebbd1

@ -14,7 +14,7 @@
Summary: The GNOME virtual file-system libraries Summary: The GNOME virtual file-system libraries
Name: gnome-vfs2 Name: gnome-vfs2
Version: 2.24.1 Version: 2.24.1
Release: 4%{?dist} Release: 5%{?dist}
License: LGPLv2+ and GPLv2+ License: LGPLv2+ and GPLv2+
# the daemon and the library are LGPLv2+ # the daemon and the library are LGPLv2+
# the modules are LGPLv2+ and GPLv2+ # the modules are LGPLv2+ and GPLv2+
@ -144,6 +144,9 @@ cd po
grep -v ".*[.]desktop[.]in[.]in$\|.*[.]server[.]in[.]in$" POTFILES.in > POTFILES.keep grep -v ".*[.]desktop[.]in[.]in$\|.*[.]server[.]in[.]in$" POTFILES.in > POTFILES.keep
mv POTFILES.keep POTFILES.in mv POTFILES.keep POTFILES.in
intltool-update --pot intltool-update --pot
PO_FAKE_DATE="2009-08-03 18:00+0200" # fake this to be equal in every build
PO_FAKE_DATE_EXPR='\(.*POT-Creation-Date: *\)\(.*\)\(\\n.*\)'
sed --in-place "s/${PO_FAKE_DATE_EXPR}/\1${PO_FAKE_DATE}\3/" %{po_package}.pot
for p in *.po; do for p in *.po; do
msgmerge $p %{po_package}.pot > $p.out msgmerge $p %{po_package}.pot > $p.out
msgfmt -o `basename $p .po`.gmo $p.out msgfmt -o `basename $p .po`.gmo $p.out
@ -239,6 +242,9 @@ fi
%config %{_sysconfdir}/gnome-vfs-2.0/modules/smb-module.conf %config %{_sysconfdir}/gnome-vfs-2.0/modules/smb-module.conf
%changelog %changelog
* Mon Aug 3 2009 Tomas Bzatek <tbzatek@redhat.com> - 2.24.1-5
- Fake POT-Creation-Date to prevent multilib issues (#514990)
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.1-4 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

Loading…
Cancel
Save