]> git.pld-linux.org Git - packages/rpm-build-macros.git/blame - rpm-build-macros.spec
- R(rpm-build) to prevent broken builds?
[packages/rpm-build-macros.git] / rpm-build-macros.spec
CommitLineData
b0a3e709 1# NOTE
c8ef390a
ER
2# - AC-branch is TAG. please move the tag if rebuild needed:
3# $ cvs tag -F AC-branch rpm-macros.spec
89506c89
ER
4%define rpm_macros_rev 1.223
5Summary: PLD Linux RPM Macros
6Name: rpm-macros
7Version: 0.1
f0a8f0ff 8Release: 0.3
89506c89
ER
9License: GPL
10Group: Base
11Source0: rpm.macros
12Provides: rpmbuild(macros) = %{rpm_macros_rev}
f0a8f0ff 13Requires: rpm-build
89506c89
ER
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18This package contains rpm macros for PLD Linux.
19
20Use this package to get newer rpm macros than rpm-build provides
21(perhaps this package will be separated in the future).
22
23%prep
24
25%install
26rm -rf $RPM_BUILD_ROOT
27install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm
da14bc9d
ER
28sed -e '
29# truncate until %%_topdir macro
301,/^%%_topdir/d
31' %{SOURCE0} > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/rpm.macros
89506c89
ER
32
33%clean
34rm -rf $RPM_BUILD_ROOT
35
36%files
37%defattr(644,root,root,755)
38%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rpm/rpm.macros
This page took 0.08894 seconds and 4 git commands to generate.