Patch Makefile.am to use system uthash-devel
This commit is contained in:
parent
20d72eb2fa
commit
8bdf933db0
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ fontforge_full-20100501.tar.bz2
|
|||||||
/fontforge_full-20120731-b.tar.bz2
|
/fontforge_full-20120731-b.tar.bz2
|
||||||
/fontforge_htdocs-20120731-b.tar.bz2
|
/fontforge_htdocs-20120731-b.tar.bz2
|
||||||
/20140813.tar.gz
|
/20140813.tar.gz
|
||||||
|
/gnulib-2bf7326.tar.gz
|
||||||
|
30
fontforge-20140813-use-system-uthash.patch
Normal file
30
fontforge-20140813-use-system-uthash.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
--- Makefile.am.old 2014-08-12 10:07:32.000000000 +0530
|
||||||
|
+++ Makefile.am 2014-09-08 16:23:56.046996941 +0530
|
||||||
|
@@ -43,7 +43,6 @@
|
||||||
|
AM_CPPFLAGS =
|
||||||
|
AM_LDFLAGS =
|
||||||
|
|
||||||
|
-BUILT_SOURCES = uthash/src
|
||||||
|
EXTRA_DIST =
|
||||||
|
CLEANFILES =
|
||||||
|
MOSTLYCLEANFILES =
|
||||||
|
@@ -113,7 +112,6 @@
|
||||||
|
Packaging/FontForge-doc.spec \
|
||||||
|
Packaging/FontForge.spec \
|
||||||
|
Packaging/FontForge.static.spec \
|
||||||
|
- uthash/src \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
#--------------------------------------------------------------------------
|
||||||
|
@@ -129,11 +127,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
#--------------------------------------------------------------------------
|
||||||
|
-uthash/src:
|
||||||
|
- if [ ! -e uthash/src ]; then \
|
||||||
|
- if [ -e uthash ] ; then rm -r uthash ; fi ; \
|
||||||
|
- git clone https://github.com/troydhanson/uthash ; \
|
||||||
|
- fi ;
|
||||||
|
|
||||||
|
# We import a selection of targets from Frank's standard packaging Makefile.
|
||||||
|
|
@ -11,6 +11,7 @@ License: GPLv3+
|
|||||||
URL: http://fontforge.github.io/
|
URL: http://fontforge.github.io/
|
||||||
Source0: https://github.com/fontforge/fontforge/archive/%{archive_version}.tar.gz
|
Source0: https://github.com/fontforge/fontforge/archive/%{archive_version}.tar.gz
|
||||||
Source1: http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=snapshot;h=%{gnulib_githead};sf=tgz;name=gnulib-%{gnulib_githead}.tar.gz
|
Source1: http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=snapshot;h=%{gnulib_githead};sf=tgz;name=gnulib-%{gnulib_githead}.tar.gz
|
||||||
|
Patch0: fontforge-20140813-use-system-uthash.patch
|
||||||
|
|
||||||
Requires: xdg-utils
|
Requires: xdg-utils
|
||||||
Requires: autotrace
|
Requires: autotrace
|
||||||
@ -34,6 +35,7 @@ BuildRequires: python2-devel
|
|||||||
BuildRequires: libtool-ltdl-devel
|
BuildRequires: libtool-ltdl-devel
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
BuildRequires: python-ipython
|
BuildRequires: python-ipython
|
||||||
|
BuildRequires: uthash-devel
|
||||||
|
|
||||||
Provides: bundled(gnulib)
|
Provides: bundled(gnulib)
|
||||||
|
|
||||||
@ -65,6 +67,8 @@ This package contains documentation files for %{name}.
|
|||||||
%setup -q -n %{name}-%{archive_version}
|
%setup -q -n %{name}-%{archive_version}
|
||||||
tar xzf %{SOURCE1}
|
tar xzf %{SOURCE1}
|
||||||
|
|
||||||
|
%patch0 -p0
|
||||||
|
|
||||||
sed -i -e '/^#!\//, 1d' pycontrib/graphicore.py
|
sed -i -e '/^#!\//, 1d' pycontrib/graphicore.py
|
||||||
sed -i -e '/^#!\//, 1d' pycontrib/webcollab.py
|
sed -i -e '/^#!\//, 1d' pycontrib/webcollab.py
|
||||||
|
|
||||||
@ -159,6 +163,7 @@ fi
|
|||||||
%changelog
|
%changelog
|
||||||
* Mon Sep 08 2014 Parag Nemade <pnemade AT redhat DOT com> - 20140813-2
|
* Mon Sep 08 2014 Parag Nemade <pnemade AT redhat DOT com> - 20140813-2
|
||||||
- Add gnulib source for bootstrap as koji don't have network
|
- Add gnulib source for bootstrap as koji don't have network
|
||||||
|
- Patch Makefile.am to use system uthash-devel
|
||||||
|
|
||||||
* Mon Sep 08 2014 Parag Nemade <pnemade AT redhat DOT com> - 20140813-1
|
* Mon Sep 08 2014 Parag Nemade <pnemade AT redhat DOT com> - 20140813-1
|
||||||
- Update to fontforge 2.0 snapshot 20140813
|
- Update to fontforge 2.0 snapshot 20140813
|
||||||
|
Loading…
Reference in New Issue
Block a user