Adam Majer 2018-06-26 10:47:37 +00:00 committed by Git OBS Bridge
parent d3e1ffb516
commit f98839df94

View File

@ -120,9 +120,6 @@ echo "`grep %{name}-%{version}.tar.xz %{SOURCE6} | head -n1 | cut -c1-64` %{SOU
%build
autoreconf --force --install
%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security -Wno-unused-parameter
export CFLAGS="$RPM_OPT_FLAGS %{warn_flags}"
export X11_WWW="%{_datadir}/mc/x11_browser"
%configure \
@ -172,7 +169,6 @@ rm -rf %{buildroot}%{_datadir}/locale/be@tarask
%verify_permissions -e %{_libexecdir}/mc/cons.saver
%files
%defattr(-, root, root)
%doc ABOUT-NLS NEWS README
%license COPYING
%config %{_sysconfdir}/profile.d/*
@ -211,7 +207,6 @@ rm -rf %{buildroot}%{_datadir}/locale/be@tarask
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%files lang -f %name.lang
%defattr(-, root, root)
%if 0%{?suse_version} < 1140 || 0%{?sles_version} && 0%{?sles_version} <= 11
%lang(sv) %dir %{_datadir}/locale/sv_SE
%lang(sv) %dir %{_datadir}/locale/sv_SE/LC_MESSAGES