diff options
author | hpa <hpa> | 2003-04-16 19:52:35 +0000 |
---|---|---|
committer | hpa <hpa> | 2003-04-16 19:52:35 +0000 |
commit | b126993550a63b16bb6a35dac3f1b82dba0775f1 (patch) | |
tree | 5f21191f9cf80b728e1c61ead4a9833cfb58ddb1 /syslinux.spec.in | |
parent | 31e884f23fddefb936708939f957363bd5d7f33a (diff) | |
download | syslinux-b126993550a63b16bb6a35dac3f1b82dba0775f1.tar.gz |
Hack around RPM versioning issues for now
Diffstat (limited to 'syslinux.spec.in')
-rw-r--r-- | syslinux.spec.in | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/syslinux.spec.in b/syslinux.spec.in index d8abc11e..e83d8452 100644 --- a/syslinux.spec.in +++ b/syslinux.spec.in @@ -1,14 +1,16 @@ # -*- rpm -*- +%define RPMVERSION @@RPMVERSION@@ +%define VERSION @@VERSION@@ Summary: Kernel loader which uses a FAT or iso9660 filesystem or a PXE network Name: syslinux -Version: @@VERSION@@ +Version: %{RPMVERSION} Release: 1 License: GPL Group: Applications/System -Source0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{version}.tar.gz +Source0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{VERSION}.tar.gz ExclusiveArch: i386 x86_64 Packager: H. Peter Anvin <hpa@zytor.com> -Buildroot: %{_tmppath}/%{name}-%{version}-root +Buildroot: %{_tmppath}/%{name}-%{VERSION}-root BuildPrereq: nasm >= 0.98.35, perl Autoreq: 0 %ifarch i386 @@ -25,7 +27,7 @@ PXE bootloader during network boots (PXELINUX), or for booting from ISO 9660 CD-ROMs (ISOLINUX). %prep -%setup -q -n syslinux-%{version} +%setup -q -n syslinux-%{VERSION} %build make clean @@ -56,6 +58,12 @@ rm -rf %{buildroot} %{_prefix}/lib/libsyslinux.* %{_prefix}/include/syslinux.h +%postin +/sbin/ldconfig + +%postun +/sbin/ldconfig + %changelog * Wed Apr 16 2003 H. Peter Anvin <hpa@zytor.com> 2.04-1 - 2.04 release |