Remove static loadkeys binary (it's not needed anymore)
This commit is contained in:
parent
2e9f4a1228
commit
0ea9932d98
13
kbd.spec
13
kbd.spec
@ -1,6 +1,6 @@
|
||||
Name: kbd
|
||||
Version: 1.15
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: Tools for configuring the console (keyboard, virtual terminals, etc.)
|
||||
|
||||
Group: System Environment/Base
|
||||
@ -60,11 +60,6 @@ iconv -f iso-8859-1 -t utf-8 < "ChangeLog" > "ChangeLog_"
|
||||
mv "ChangeLog_" "ChangeLog"
|
||||
|
||||
%build
|
||||
%configure --prefix=%{_prefix} --datadir=/lib/kbd --mandir=%{_mandir} --localedir=%{_datadir}/locale --enable-nls
|
||||
make %{?_smp_mflags} LDFLAGS="-static"
|
||||
mv src/loadkeys src/loadkeys.static
|
||||
make clean
|
||||
|
||||
%configure --prefix=%{_prefix} --datadir=/lib/kbd --mandir=%{_mandir} --localedir=%{_datadir}/locale --enable-nls
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -95,9 +90,6 @@ sed -i -e 's,\<kbd_mode\>,/bin/kbd_mode,g;s,\<setfont\>,/bin/setfont,g' \
|
||||
# Link open to openvt
|
||||
ln -s openvt $RPM_BUILD_ROOT%{_bindir}/open
|
||||
|
||||
# install static binary for mkinitrd to use
|
||||
install -c -m755 src/loadkeys.static $RPM_BUILD_ROOT/bin
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
@ -112,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/lib/kbd
|
||||
|
||||
%changelog
|
||||
* Mon Mar 2 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.15-6
|
||||
- Remove static loadkeys binary (it's not needed anymore)
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user