remove obsolete macros

This commit is contained in:
Miroslav Lichvar 2012-10-15 14:44:32 +02:00
parent 4755a70a95
commit 749234d71c

View File

@ -14,7 +14,6 @@ Patch9: ncurses-libs.patch
Patch11: ncurses-urxvt.patch Patch11: ncurses-urxvt.patch
Patch12: ncurses-kbs.patch Patch12: ncurses-kbs.patch
BuildRequires: gpm-devel pkgconfig BuildRequires: gpm-devel pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
@ -111,7 +110,7 @@ for f in ANNOUNCE; do
done done
%build %build
%define ncurses_options \\\ %global ncurses_options \\\
--with-shared --without-ada --with-ospeed=unsigned \\\ --with-shared --without-ada --with-ospeed=unsigned \\\
--enable-hard-tabs --enable-xmc-glitch --enable-colorfgbg \\\ --enable-hard-tabs --enable-xmc-glitch --enable-colorfgbg \\\
--with-terminfo-dirs=%{_sysconfdir}/terminfo:%{_datadir}/terminfo \\\ --with-terminfo-dirs=%{_sysconfdir}/terminfo:%{_datadir}/terminfo \\\
@ -135,8 +134,6 @@ make %{?_smp_mflags} libs
cd .. cd ..
%install %install
rm -rf ${RPM_BUILD_ROOT}
make -C narrowc DESTDIR=$RPM_BUILD_ROOT install.{libs,progs,data} make -C narrowc DESTDIR=$RPM_BUILD_ROOT install.{libs,progs,data}
rm -f $RPM_BUILD_ROOT%{_libdir}/libtinfo.* rm -f $RPM_BUILD_ROOT%{_libdir}/libtinfo.*
make -C widec DESTDIR=$RPM_BUILD_ROOT install.{libs,includes,man} make -C widec DESTDIR=$RPM_BUILD_ROOT install.{libs,includes,man}
@ -203,7 +200,6 @@ bzip2 NEWS
%postun libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig
%files %files
%defattr(-,root,root)
%doc ANNOUNCE AUTHORS NEWS.bz2 README TO-DO %doc ANNOUNCE AUTHORS NEWS.bz2 README TO-DO
%{_bindir}/[cirt]* %{_bindir}/[cirt]*
%{_mandir}/man1/[cirt]* %{_mandir}/man1/[cirt]*
@ -211,21 +207,17 @@ bzip2 NEWS
%{_mandir}/man7/* %{_mandir}/man7/*
%files libs %files libs
%defattr(-,root,root)
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
%files base -f terms.base %files base -f terms.base
%defattr(-,root,root)
%doc README %doc README
%dir %{_sysconfdir}/terminfo %dir %{_sysconfdir}/terminfo
%{_datadir}/tabset %{_datadir}/tabset
%dir %{_datadir}/terminfo %dir %{_datadir}/terminfo
%files term -f terms.term %files term -f terms.term
%defattr(-,root,root)
%files devel %files devel
%defattr(-,root,root)
%doc test %doc test
%doc doc/html/hackguide.html %doc doc/html/hackguide.html
%doc doc/html/ncurses-intro.html %doc doc/html/ncurses-intro.html
@ -243,12 +235,8 @@ bzip2 NEWS
%{_mandir}/man3/* %{_mandir}/man3/*
%files static %files static
%defattr(-,root,root)
%{_libdir}/lib*.a %{_libdir}/lib*.a
%clean
rm -rf ${RPM_BUILD_ROOT}
%changelog %changelog
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9-5.20120204 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9-5.20120204
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild