Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4c97b1eb8a | ||
|
|
8ae1d2229c | ||
|
|
d461dbd819 |
3 changed files with 14 additions and 23 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: setserial
|
||||
# $Id: Makefile,v 1.2 2007/10/15 19:22:41 notting Exp $
|
||||
NAME := setserial
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attempt a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
Summary: A utility for configuring serial ports
|
||||
Name: setserial
|
||||
Version: 2.17
|
||||
Release: 25%{?dist}
|
||||
Release: 26%{?dist}
|
||||
Source: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
|
||||
Patch0: setserial-2.17-fhs.patch
|
||||
Patch1: setserial-2.17-rc.patch
|
||||
|
|
@ -25,10 +25,19 @@ port and IRQ that a particular serial device is using, and more.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
# Use FHS directory layout.
|
||||
%patch0 -p1 -b .fhs
|
||||
|
||||
# Fixed initscript.
|
||||
%patch1 -p1 -b .rc
|
||||
|
||||
# Corrected readme file.
|
||||
%patch2 -p1 -b .readme
|
||||
|
||||
# Fixed spelling in help output.
|
||||
%patch3 -p1 -b .spelling
|
||||
|
||||
# Don't require hayesesp.h (bug #564947).
|
||||
%patch4 -p1 -b .hayesesp
|
||||
rm -f config.cache
|
||||
|
||||
|
|
@ -52,8 +61,11 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||
%{_mandir}/man*/*
|
||||
|
||||
%changelog
|
||||
* Wed Mar 3 2010 Tim Waugh <twaugh@redhat.com> 2.17-26
|
||||
- Added comments for all patches.
|
||||
|
||||
* Mon Feb 15 2010 Tim Waugh <twaugh@redhat.com> 2.17-25
|
||||
- Don't requires hayesesp.h (bug #564974).
|
||||
- Don't require hayesesp.h (bug #564947).
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue