remove unnecessary macros
This commit is contained in:
parent
643b7024fb
commit
e54b33491f
@ -7,7 +7,6 @@ License: LGPLv2
|
||||
Group: Applications/System
|
||||
URL: http://invisible-island.net/dialog/dialog.html
|
||||
Source: ftp://invisible-island.net/dialog/dialog-%{version}-%{dialogsubversion}.tgz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: ncurses-devel gettext findutils libtool
|
||||
Patch1: dialog-incdir.patch
|
||||
Patch2: dialog-multilib.patch
|
||||
@ -48,8 +47,6 @@ dialog library.
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
# prepare packaged samples
|
||||
rm -rf _samples
|
||||
mkdir _samples
|
||||
@ -64,22 +61,17 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libdialog.{,l}a
|
||||
|
||||
%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 dialog.lsm README _samples/samples
|
||||
%{_bindir}/dialog
|
||||
%{_libdir}/libdialog.so.*
|
||||
%{_mandir}/man1/dialog.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/dialog-config
|
||||
%{_includedir}/dialog
|
||||
%{_libdir}/libdialog.so
|
||||
|
||||
Loading…
Reference in New Issue
Block a user