diff --git a/newt.spec b/newt.spec index d2491bf..e6560a4 100644 --- a/newt.spec +++ b/newt.spec @@ -10,7 +10,6 @@ Source: https://fedorahosted.org/released/newt/newt-%{version}.tar.gz BuildRequires: popt-devel python-devel slang-devel BuildRequires: docbook-utils Provides: snack = %{version}-%{release} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %package devel Summary: Newt windowing toolkit development files @@ -67,38 +66,30 @@ chmod 0644 peanuts.py popcorn.py docbook2txt tutorial.sgml %install -rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %find_lang %{name} -%clean -rm -rf $RPM_BUILD_ROOT - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang -%defattr (-,root,root) %doc COPYING %{_bindir}/whiptail %{_libdir}/libnewt.so.* %{_mandir}/man1/whiptail.1* %files devel -%defattr (-,root,root) %doc tutorial.* %{_includedir}/newt.h %{_libdir}/libnewt.so %{_libdir}/pkgconfig/libnewt.pc %files static -%defattr(-,root,root) %{_libdir}/libnewt.a %files python -%defattr(-,root,root) %doc peanuts.py popcorn.py %{python_sitearch}/*.so %{python_sitearch}/*.py*