diff options
author | twittner | 2004-08-27 01:31:45 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 79802ab00e7745f2518d30366ccd07d21042d521 (patch) | |
tree | 46e5c396bd017defa4c4c88f3e8ae507230ae06e | |
parent | 85d0e0f2429f9767f9b620d3c04a928ea1061dd4 (diff) | |
download | AsmEdit-79802ab00e7745f2518d30366ccd07d21042d521.zip AsmEdit-79802ab00e7745f2518d30366ccd07d21042d521.tar.gz |
- moved source preparation from %build to %prep
- simpliefed sed regex
- use macros instead fixed paths
- BR: sed >= 4.x for changing in place files
- use ___build_shell instead of /bin/bash
- mayby it's for linux only:
$ a
zsh: invalid system call (core dumped) a
on my FreeBSD box.
$ truss a
ioctl(134512773,0x1,0xbfbfea04) ERR#9 'Bad file descriptor'
ioctl(134512773,0x1,0xbfbfea04) ERR#9 'Bad file descriptor'
write(134512773,0x1,-1077941756) ERR#9 'Bad file descriptor'
ioctl(134512778,0x1,0xbfbfea04) ERR#9 'Bad file descriptor'
seteuid(0xbfbfea04) ERR#1 'Operation not permitted'
obs_vtimes() ERR#78 'Function not implemented'
SIGNAL 12
SIGNAL 12
Process stopped because of: 16
process exit, rval = 140
zsh: invalid system call (core dumped) truss a
Changed files:
AsmEdit.spec -> 1.2
Notes
Notes:
- moved source preparation from %build to %prep
- simpliefed sed regex
- use macros instead fixed paths
- BR: sed >= 4.x for changing in place files
- use ___build_shell instead of /bin/bash
- maybe it's for linux only:
$ a
zsh: invalid system call (core dumped) a
on my FreeBSD box.
$ truss a
ioctl(134512773,0x1,0xbfbfea04) ERR#9 'Bad file descriptor'
ioctl(134512773,0x1,0xbfbfea04) ERR#9 'Bad file descriptor'
write(134512773,0x1,-1077941756) ERR#9 'Bad file descriptor'
ioctl(134512778,0x1,0xbfbfea04) ERR#9 'Bad file descriptor'
seteuid(0xbfbfea04) ERR#1 'Operation not permitted'
obs_vtimes() ERR#78 'Function not implemented'
SIGNAL 12
SIGNAL 12
Process stopped because of: 16
process exit, rval = 140
zsh: invalid system call (core dumped) truss a
-rw-r--r-- | AsmEdit.spec | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/AsmEdit.spec b/AsmEdit.spec index 1e0749f..66d2fc3 100644 --- a/AsmEdit.spec +++ b/AsmEdit.spec @@ -7,8 +7,9 @@ License: GPL Group: Applications/Editors Source0: http://dl.sourceforge.net/asmedit/%{name}-%{version}.tar.gz # Source0-md5: 6daef4f78eff08e4ba10abfa8a67ba86 -URL: http://asmedit.massmind.org -BuildRequires: nasm +URL: http://asmedit.massmind.org/ +BuildRequires: nasm +BuildRequires: sed >= 4.1.1 BuildArch: %{ix86} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -18,15 +19,15 @@ require any libraries. It works in console. %description -l pl AsmEdit jest obszernym edytorem napisanym w assemblerze. Nie wymaga -zadnych bibliotek. Pracuje w konsoli. +żadnych bibliotek. Pracuje w konsoli. %prep %setup -q -n release +%{__sed} -i 's,~/bin,%{_bindir},' Makefile +%{__sed} -i 's,/bin/bash,%{___build_shell},' * %build -%{__sed} -i 's/~\/bin/\/usr\/bin/' Makefile -%{__make} \ - FLAGS="%{rpmcflags}" +%{__make} %install rm -rf $RPM_BUILD_ROOT |