From 9e8d922623f3ccf35e1ea96a2b4ed13070b6e7b8 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 24 Jan 2013 12:50:00 +0100 Subject: [PATCH] remove obsolete macros --- slang.spec | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/slang.spec b/slang.spec index 4f5adff..59e4a99 100644 --- a/slang.spec +++ b/slang.spec @@ -8,7 +8,6 @@ Source: ftp://space.mit.edu/pub/davis/slang/v2.2/%{name}-%{version}.tar.bz2 # fix file permissions Patch1: slang-2.2.4-perms.patch URL: http://www.jedsoft.org/slang/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libpng-devel pcre-devel zlib-devel %if 0%{?fedora:1} BuildRequires: oniguruma-devel @@ -76,8 +75,6 @@ head -n -1800 < changes.txt > changes.txt_ && tail -n 1800 < changes.txt | \ make RPATH="" install_doc_dir=%{_docdir}/%{name}-%{version} %install -rm -rf ${RPM_BUILD_ROOT} - make install-all INSTALL="install -p" RPATH="" DESTDIR=$RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT%{_docdir}/{slang,slsh} @@ -86,20 +83,15 @@ for h in slang.h slcurses.h; do ln -s ../$h $RPM_BUILD_ROOT%{_includedir}/slang/$h done -%clean -rm -rf ${RPM_BUILD_ROOT} - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%defattr(-,root,root) %doc COPYING NEWS doc/README changes.txt doc/*/slang*.txt doc/*.txt %{_libdir}/libslang*.so.* %files slsh -%defattr(-,root,root) %doc slsh/doc/html/slsh*.html %config(noreplace) %{_sysconfdir}/slsh.rc %{_bindir}/slsh @@ -108,7 +100,6 @@ rm -rf ${RPM_BUILD_ROOT} %{_datadir}/slsh %files devel -%defattr(-,root,root) %doc doc/*/cslang*.txt doc/*/cref.txt %{_libdir}/libslang*.so %{_libdir}/pkgconfig/slang.pc @@ -116,7 +107,6 @@ rm -rf ${RPM_BUILD_ROOT} %{_includedir}/slang %files static -%defattr(-,root,root) %{_libdir}/libslang*.a %changelog