[openfst] New upstream version.
Jerry James
jjames at fedoraproject.org
Mon Mar 5 21:21:11 UTC 2012
commit 40fda8452bd277b97739a63f38fc033ebd4b9f6e
Author: Jerry James <loganjerry at gmail.com>
Date: Mon Mar 5 14:20:56 2012 -0700
New upstream version.
.gitignore | 2 +-
openfst.spec | 17 +++++++++++++----
sources | 4 ++--
3 files changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0d636a3..73c04ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
/openfst-man.tar.xz
-/openfst-1.2.10.tar.gz
+/openfst-1.3.1.tar.gz
diff --git a/openfst.spec b/openfst.spec
index 0a70ef1..465a133 100644
--- a/openfst.spec
+++ b/openfst.spec
@@ -1,6 +1,6 @@
Name: openfst
-Version: 1.2.10
-Release: 3%{?dist}
+Version: 1.3.1
+Release: 1%{?dist}
Summary: Weighted finite-state transducer library
Group: Development/Libraries
@@ -58,6 +58,7 @@ functionality.
%prep
%setup -q
+%setup -q -T -D -a 2
# Add missing linkage, remove unnecessary linkage, and make sure libraries
# are built in the correct order so linkage is possible.
@@ -107,8 +108,13 @@ cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
# Install the man pages
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
-cd $RPM_BUILD_ROOT%{_mandir}/man1
-tar xf %{SOURCE2}
+cd man
+for f in *.1; do
+ sed -e "s/@VERSION@/%{version}/" -e "s/@DATE@/March 2012/" $f > \
+ $RPM_BUILD_ROOT%{_mandir}/man1/$f
+ touch -r $f $RPM_BUILD_ROOT%{_mandir}/man1/$f
+done
+cd ..
# Move libraries that are actually used by binaries out of the private dir.
# Leave symbolic links behind, since they are dlopen()ed.
@@ -146,6 +152,9 @@ ln -s ../libfstpdtscript.so.0 $RPM_BUILD_ROOT%{_libdir}/fst/libfstpdtscript.so.0
%config(noreplace) %{_sysconfdir}/bash_completion.d
%changelog
+* Mon Mar 5 2012 Jerry James <loganjerry at gmail.com> - 1.3.1-1
+- New upstream version
+
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.10-3
- Rebuilt for c++ ABI breakage
diff --git a/sources b/sources
index de29fe9..58ffad6 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-2c73dca4cbfe3850b9b7f6988249c870 openfst-1.2.10.tar.gz
-084e16fe2f167c8f30e03b695fe394f4 openfst-man.tar.xz
+9d1ce908eac610da805dfd4fdc337b82 openfst-1.3.1.tar.gz
+80ed9aa85f0c8f6215da55bfa091df10 openfst-man.tar.xz
More information about the scm-commits
mailing list