rpms/lineakd/devel ppc_fix.patch,NONE,1.1 lineakd.spec,1.1,1.2
Chris Petersen (xris)
fedora-extras-commits at redhat.com
Mon May 22 06:53:54 UTC 2006
Author: xris
Update of /cvs/extras/rpms/lineakd/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11650/devel
Modified Files:
lineakd.spec
Added Files:
ppc_fix.patch
Log Message:
auto-import lineakd-0.8.4-4 on branch devel from lineakd-0.8.4-4.src.rpm
ppc_fix.patch:
--- NEW FILE ppc_fix.patch ---
--- utils/Makefile.in.dist 2006-05-21 23:38:01.000000000 -0700
+++ utils/Makefile.in 2006-05-21 23:38:24.000000000 -0700
@@ -654,7 +654,7 @@
@EVTEST_TRUE@ $(mkinstalldirs) $(mandir)/man1/
@EVTEST_TRUE@ $(INSTALL_DATA) $(srcdir)/evtest.1.bz2 $(mandir)/man1/evtest.1.bz2
@EVTEST_FALSE at install-data-local: send_to_keyboard.8.bz2 xsendkeycode.8.bz2 xsendkeys.8.bz2
- at SEND_TO_KEYBOARD_TRUE@ $(mkinstalldirs) $(mandir)/man8/
+ $(mkinstalldirs) $(mandir)/man8/
@SEND_TO_KEYBOARD_TRUE@ chmod 755 $(DESTDIR)$(prefix)/sbin/send_to_keyboard
@SEND_TO_KEYBOARD_TRUE@ if test "$(HELPER_SUID)" != "no" ; then \
@SEND_TO_KEYBOARD_TRUE@ chown root $(DESTDIR)$(prefix)/sbin/send_to_keyboard ; \
Index: lineakd.spec
===================================================================
RCS file: /cvs/extras/rpms/lineakd/devel/lineakd.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- lineakd.spec 21 May 2006 19:27:50 -0000 1.1
+++ lineakd.spec 22 May 2006 06:53:54 -0000 1.2
@@ -4,7 +4,7 @@
Name: lineakd
Version: 0.8.4
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Linux support for Easy Access and Multimedia keyboards
Group: User Interface/Desktops
@@ -14,6 +14,7 @@
################################################################################
Source: http://dl.sourceforge.net/lineak/%{name}-%{version}.tar.gz
+Patch: ppc_fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -50,6 +51,7 @@
%prep
%setup -q
+%patch
################################################################################
@@ -97,10 +99,12 @@
%doc AUTHORS COPYING ChangeLog README TODO
%config(noreplace) %{_sysconfdir}/*
%{_bindir}/*
-%{_sbindir}/*
%{_libdir}/*.so.*
%{_libdir}/%{name}
%{_mandir}/man[^3]/*
+%ifarch i386 i486 i586 i686 x86_64 arm alpha
+%{_sbindir}/*
+%endif
################################################################################
@@ -110,9 +114,14 @@
%{_libdir}/*.a
%{_libdir}/*.so
+################################################################################
%changelog
+* Sun May 21 2006 Chris Petersen <rpm at forevermore.net> 0.8.4-4
+- Add ppc_fix.patch to make this build properly on ppc arch
+- Make %{_sbindir}/* conditional on the buildarch
+
* Fri May 20 2006 Chris Petersen <rpm at forevermore.net> 0.8.4-3
- Fix post and postun Requires
- Remove the duplicate documentation from -devel after all
More information about the fedora-extras-commits
mailing list