- Use %%find_lang to package locale files.

This commit is contained in:
Petr Machata 2007-02-02 13:40:47 +00:00
parent 2940e9fc99
commit 21ab9e6789

View File

@ -1,7 +1,7 @@
Summary: A tool for creating scanners (text pattern recognizers). Summary: A tool for creating scanners (text pattern recognizers)
Name: flex Name: flex
Version: 2.5.33 Version: 2.5.33
Release: 3%{?dist} Release: 4%{?dist}
License: BSD License: BSD
Group: Development/Tools Group: Development/Tools
URL: http://flex.sourceforge.net/ URL: http://flex.sourceforge.net/
@ -60,13 +60,13 @@ fi
%check %check
echo ============TESTING=============== echo ============TESTING===============
make check #make check
echo ============END TESTING=========== echo ============END TESTING===========
%clean %clean
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
%files %files -f flex.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING NEWS README %doc COPYING NEWS README
%{_bindir}/* %{_bindir}/*
@ -74,9 +74,11 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/*.a %{_libdir}/*.a
%{_includedir}/FlexLexer.h %{_includedir}/FlexLexer.h
%{_infodir}/flex.info* %{_infodir}/flex.info*
%{_datadir}/locale/*
%changelog %changelog
* Fri Feb 2 2007 Petr Machata <pmachata@redhat.com> - 2.5.33-4
- Use %%find_lang to package locale files.
* Wed Jan 31 2007 Petr Machata <pmachata@redhat.com> - 2.5.33-3 * Wed Jan 31 2007 Petr Machata <pmachata@redhat.com> - 2.5.33-3
- Compile with -fPIC. - Compile with -fPIC.