- Rebuild for new libtool.

This commit is contained in:
Adam Jackson 2009-02-26 22:05:51 +00:00
parent 985c5969b6
commit e3634f617f

View File

@ -1,4 +1,4 @@
# NOTE: This library has been deprecated in RHEL and Fedora Core for some
# NOTE: This library has been deprecated in RHEL and Fedora for some
# time now. While we have removed the word "deprecated" from the package
# name in modular X, the library does remain deprecated and will be
# removed from a future OS release at some point. Developers should
@ -12,7 +12,7 @@
Summary: X.Org X11 libXp runtime library
Name: libXp
Version: 1.0.0
Release: 12%{?dist}
Release: 13%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.x.org
@ -52,23 +52,13 @@ X.Org X11 libXp development package
%patch0 -p1 -b .add-proto-files
# Disable static library creation by default.
%define with_static 0
%build
# There is a patch that changes configure.ac, so we have
# run autoreconf
CPPFLAGS="$CPPFLAGS -I$RPM_BUILD_ROOT%{_includedir}"
export CPPFLAGS
autoreconf
autoreconf -v --install
%configure \
%if ! %{with_static}
--disable-static
%endif
%configure --disable-static
make %{?_smp_mflags}
%install
@ -106,9 +96,6 @@ rm -rf $RPM_BUILD_ROOT
%if ! %{without_devel}
%files devel
%defattr(-,root,root,-)
%if %{with_static}
%{_libdir}/libXp.a
%endif
%{_includedir}/X11/extensions/Print.h
%{_includedir}/X11/extensions/Printstr.h
%{_libdir}/pkgconfig/printproto.pc
@ -122,6 +109,9 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Thu Feb 26 2009 Adam Jackson <ajax@redhat.com> 1.0.0-13
- Rebuild for new libtool.
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild