rpms/fonttools/EL-6 fonttools.spec, 1.19, 1.20 sources, 1.6, 1.7 fonttools-as.patch, 1.1, NONE
pnemade
pnemade at fedoraproject.org
Tue Jul 27 15:28:26 UTC 2010
Author: pnemade
Update of /cvs/pkgs/rpms/fonttools/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv25066
Modified Files:
fonttools.spec sources
Removed Files:
fonttools-as.patch
Log Message:
Initial EPEL6 release
Index: fonttools.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fonttools/EL-6/fonttools.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- fonttools.spec 2 Oct 2009 09:41:02 -0000 1.19
+++ fonttools.spec 27 Jul 2010 15:28:26 -0000 1.20
@@ -1,9 +1,11 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
Name: fonttools
-Version: 2.2
-Release: 7%{?dist}
+Version: 2.3
+Release: 1%{?dist}
Summary: A tool to convert True/OpenType fonts to XML and back
Group: Development/Tools
@@ -15,8 +17,6 @@ BuildRoot: %{_tmppath}/%{name}-%{ve
BuildRequires: python-devel numpy
Requires: numpy
-Patch0: fonttools-as.patch
-
Provides: ttx = %{version}-%{release}
%description
@@ -27,10 +27,9 @@ TrueType and OpenType fonts to an XML-ba
%prep
%setup -q
-%patch0 -p0 -b .as
-%{__sed} -i.nobang '1 d' Lib/fontTools/ttx.py
-%{__chmod} a-x LICENSE.txt
+sed -i.nobang '1 d' Lib/fontTools/ttx.py
+chmod a-x LICENSE.txt
%build
@@ -42,8 +41,6 @@ rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT%{python_sitearch}/FontTools/fontTools/ttLib/test
chmod 0755 $RPM_BUILD_ROOT%{python_sitearch}/FontTools/fontTools/misc/eexecOp.so
-mkdir -p -m 0755 ${RPM_BUILD_ROOT}%{_mandir}/man1
-mv $RPM_BUILD_ROOT/usr/man/man1/ttx.1 $RPM_BUILD_ROOT/%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
@@ -52,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc LICENSE.txt
-%doc Doc/ChangeLog.txt Doc/changes.txt Doc/documentation.html
+%doc Doc/ChangeLog Doc/changes.txt Doc/documentation.html
%{python_sitearch}/FontTools.pth
%dir %{python_sitearch}/FontTools
%dir %{python_sitearch}/FontTools/fontTools
@@ -73,6 +70,15 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Jul 23 2010 Akira TAGOH <tagoh at redhat.com> - 2.3-1
+- New upstream release. (Paul Williams, #599281)
+ - drop upstreamed patch.
+ - correct man page location.
+- Update the spec file to keep consistensy of usage in the macro as far as possible.
+
+* Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 2.2-8
+- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
+
* Fri Oct 02 2009 Caolán McNamara <caolanm at redhat.com> - 2.2-7
* Resolves: rhbz#525444 as is a reserved keyword in python
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/fonttools/EL-6/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- sources 16 Sep 2008 17:10:29 -0000 1.6
+++ sources 27 Jul 2010 15:28:26 -0000 1.7
@@ -1 +1 @@
-639c68113cc04e8f30ae8997d6cc480a fonttools-2.2.tar.gz
+502cdf6662e1d075f1902fbd995eaace fonttools-2.3.tar.gz
--- fonttools-as.patch DELETED ---
More information about the fonts-bugs
mailing list