Skip to content

Commit 8b31405

Browse files
author
dmoore
committed
Updated .spec file and autogen.sh for newer versions of build tools
1 parent 5b6629d commit 8b31405

3 files changed

Lines changed: 24 additions & 9 deletions

File tree

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2011-11-16 David Moore <david.moore@gmail.com>
2+
3+
* Updated .spec file and autogen.sh for newer versions of build tools
4+
15
2009-07-05 David Moore <dcm@acm.org>
26

37
* NEWS, configure.in, libiptcdata.spec.in: Updated for release of 1.0.4

autogen.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,11 @@ DIE=0
1414

1515
have_libtool=false
1616
if libtoolize --version < /dev/null > /dev/null 2>&1 ; then
17-
libtool_version=`libtoolize --version | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
18-
case $libtool_version in
19-
1.4*|1.5*)
20-
have_libtool=true
21-
;;
22-
esac
17+
have_libtool=true
2318
fi
2419
if $have_libtool ; then : ; else
2520
echo
26-
echo "You must have libtool 1.4 installed to compile $PROJECT."
21+
echo "You must have libtool installed to compile $PROJECT."
2722
echo "Install the appropriate package for your distribution,"
2823
echo "or get the source tarball at http://ftp.gnu.org/gnu/libtool/"
2924
DIE=1

libiptcdata.spec.in

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
1+
%if 0%{?rhel} <= 5
2+
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
3+
%endif
24

35
Name: @PACKAGE@
46
Version: @VERSION@
@@ -26,7 +28,6 @@ Summary: Headers and libraries for libiptcdata application development
2628
Group: Development/Libraries
2729
Requires: %{name} = %{version}-%{release}
2830
Requires: pkgconfig
29-
Requires: gtk-doc
3031

3132
%description devel
3233
The libiptcdata-devel package contains the libraries and include files
@@ -84,6 +85,21 @@ rm -rf $RPM_BUILD_ROOT
8485
%{python_sitearch}/*.so
8586

8687
%changelog
88+
* Wed Nov 16 2011 David Moore <david.moore@gmail.com> 1.0.4-5
89+
- Removed 'Requires: gtk-doc', updated python sitearch.
90+
91+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-4
92+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
93+
94+
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.0.4-3
95+
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
96+
97+
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-2
98+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
99+
100+
* Sun Jul 05 2009 David Moore <dcm@acm.org> 1.0.4-1
101+
- New upstream version
102+
87103
* Sun Apr 12 2009 David Moore <dcm@acm.org> 1.0.3-3
88104
- Added 'BuildRequires: gtk-doc'
89105

0 commit comments

Comments
 (0)