]> git.pld-linux.org Git - packages/rpm-build-macros.git/blame - rpm-build-macros.spec
- use /etc/rpm/macros.pld due current macrofiles setting in rpmrc:
[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
420843fe
ER
4# TODO
5# - make rpm actually search for this rpm.macros file
89506c89
ER
6%define rpm_macros_rev 1.223
7Summary: PLD Linux RPM Macros
8Name: rpm-macros
420843fe 9Version: %{rpm_macros_rev}
f5d7e86d 10Release: 0.4
89506c89
ER
11License: GPL
12Group: Base
13Source0: rpm.macros
14Provides: rpmbuild(macros) = %{rpm_macros_rev}
f0a8f0ff 15Requires: rpm-build
90a0f875 16Conflicts: rpm < 4.4.1
89506c89
ER
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21This package contains rpm macros for PLD Linux.
22
23Use this package to get newer rpm macros than rpm-build provides
24(perhaps this package will be separated in the future).
25
26%prep
27
28%install
29rm -rf $RPM_BUILD_ROOT
30install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm
da14bc9d
ER
31sed -e '
32# truncate until %%_topdir macro
331,/^%%_topdir/d
f5d7e86d 34' %{SOURCE0} > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.pld
89506c89
ER
35
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%files
40%defattr(644,root,root,755)
f5d7e86d 41%config %verify(not md5 mtime size) %{_sysconfdir}/rpm/*
This page took 0.035118 seconds and 4 git commands to generate.