diff --git a/libutempter.spec b/libutempter.spec index 812c80d..f259358 100644 --- a/libutempter.spec +++ b/libutempter.spec @@ -7,7 +7,6 @@ Release: 1%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: ftp://ftp.altlinux.org/pub/people/ldv/utempter -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: ftp://ftp.altlinux.org/pub/people/ldv/utempter/%{name}-%{version}.tar.bz2 @@ -16,7 +15,6 @@ Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Provides: utempter = %{utempter_compat_ver} -Obsoletes: utempter %description This library provides interface for terminal emulators such as @@ -38,8 +36,6 @@ utempter-based software. make CFLAGS="$RPM_OPT_FLAGS" libdir="%{_libdir}" libexecdir="%{_libexecdir}" %install -rm -rf $RPM_BUILD_ROOT - make install DESTDIR="$RPM_BUILD_ROOT" libdir="%{_libdir}" libexecdir="%{_libexecdir}" # FIXME: We might need to enable this part for backward compat with the @@ -52,9 +48,6 @@ make install DESTDIR="$RPM_BUILD_ROOT" libdir="%{_libdir}" libexecdir="%{_libexe # NOTE: Static lib intentionally disabled. rm -f $RPM_BUILD_ROOT%{_libdir}/*.a -%clean -rm -rf $RPM_BUILD_ROOT - %pre { %{_sbindir}/groupadd -g 22 -r -f utmp || : @@ -65,7 +58,6 @@ rm -rf $RPM_BUILD_ROOT %postun -p /sbin/ldconfig %files -%defattr(-,root,root,-) %doc COPYING README %{_libdir}/libutempter.so.0 %{_libdir}/libutempter.so.1.* @@ -76,7 +68,6 @@ rm -rf $RPM_BUILD_ROOT #%{_sbindir}/utempter %files devel -%defattr(-,root,root,-) %{_includedir}/utempter.h %{_libdir}/libutempter.so %{_mandir}/man3/* @@ -85,6 +76,7 @@ rm -rf $RPM_BUILD_ROOT * Thu Oct 11 2012 Miroslav Lichvar - 1.1.6-1 - update to 1.1.6 - fix license tag +- remove unnecessary macros * Thu Jul 19 2012 Fedora Release Engineering - 1.1.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild