From 2f08db77d45eea2a6170b0ad839c03f8d0cdcc78 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 27 Jul 2012 17:32:45 +0200 Subject: [PATCH] drop obsolete cruft --- libwps.spec | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/libwps.spec b/libwps.spec index 4479269..27008f0 100644 --- a/libwps.spec +++ b/libwps.spec @@ -7,7 +7,6 @@ Group: System Environment/Libraries License: LGPLv2+ URL: http://libwps.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: boost-devel BuildRequires: doxygen @@ -24,7 +23,6 @@ Summary: Development files for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: libwpd-devel%{?_isa} -Requires: pkgconfig %description devel @@ -67,8 +65,6 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} - make install INSTALL="install -p" DESTDIR="%{buildroot}" find %{buildroot} -name '*.la' -exec rm -f {} ';' @@ -80,10 +76,6 @@ find %{buildroot}%{_defaultdocdir}/%{name}/ -type f -exec chmod 644 {} + LD_LIBRARY_PATH=$(pwd)/src/lib/.libs make check -%clean -rm -rf %{buildroot} - - %post -p /sbin/ldconfig @@ -91,12 +83,10 @@ rm -rf %{buildroot} %files -%defattr(-,root,root,-) %doc COPYING CREDITS NEWS README %{_libdir}/*.so.* %files devel -%defattr(-,root,root,-) %doc HACKING %{_includedir}/* %{_libdir}/*.so @@ -104,12 +94,10 @@ rm -rf %{buildroot} %files tools -%defattr(-,root,root,-) %{_bindir}/wps2* %files doc -%defattr(-,root,root,-) %{_defaultdocdir}/%{name}/html/