Last change
on this file since 2692 was 2081, checked in by Bruno Cornec, 8 years ago |
- Announce MondoRescue 3.2.2
- Fix Fedora 23 build for mindi-busybox (no debug pkgs)
|
File size:
795 bytes
|
Rev | Line | |
---|
| 1 | #
|
---|
| 2 | # $Id$
|
---|
| 3 | #
|
---|
| 4 | Summary: PBSUMMARY
|
---|
| 5 | Name: PBPKG
|
---|
| 6 | Version: PBVER
|
---|
| 7 | Release: PBTAGPBSUF
|
---|
| 8 | License: GPLv2
|
---|
| 9 | Group: PBGRP
|
---|
| 10 | Url: PBURL
|
---|
| 11 | Source: PBREPO/PBSRC
|
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
| 13 | PBBUILDREQ
|
---|
| 14 | # Cf: https://bugzilla.redhat.com/show_bug.cgi?id=588550
|
---|
| 15 | ExcludeArch: ppc
|
---|
| 16 | # Avoids to generate debug packages
|
---|
| 17 | %global debug_package %{nil}
|
---|
| 18 |
|
---|
| 19 | %description
|
---|
| 20 | PBDESC
|
---|
| 21 |
|
---|
| 22 | %prep
|
---|
| 23 | %setup -q
|
---|
| 24 |
|
---|
| 25 | %build
|
---|
| 26 | make oldconfig
|
---|
| 27 | make busybox
|
---|
| 28 |
|
---|
| 29 | %install
|
---|
| 30 | rm -rf $RPM_BUILD_ROOT
|
---|
| 31 |
|
---|
| 32 | export DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs
|
---|
| 33 | make CONFIG_PREFIX=$DESTDIR install
|
---|
| 34 | # Make it compatible with latest crazy /bin removal
|
---|
| 35 | ./mondo-install.sh
|
---|
| 36 |
|
---|
| 37 | %clean
|
---|
| 38 | rm -rf $RPM_BUILD_ROOT
|
---|
| 39 |
|
---|
| 40 | %files
|
---|
| 41 | %defattr(-,root,root)
|
---|
| 42 | %doc ChangeLog LICENSE AUTHORS README TODO NEWS
|
---|
| 43 | #svn.log
|
---|
| 44 | %{_libdir}/mindi/rootfs
|
---|
| 45 |
|
---|
| 46 | %changelog
|
---|
| 47 | PBLOG
|
---|
Note:
See
TracBrowser
for help on using the repository browser.