aboutsummaryrefslogtreecommitdiffstats
path: root/t/test-rpm.spec
blob: c18f505dfab7d7984f252906e74db178da2371b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $Id: test-rpm.spec 258552 2009-07-22 18:19:56Z peroyvind $

# prevent distepoch & disttag to be added and appended to package filename
%undefine distepoch
%undefine disttag

Summary: test rpm for perl-URPM test suite
BuildArch: noarch
Name: test-rpm
Version: 1.0
Release: 1mdk
License: GPL
Group: Application/Development
BuildRoot: %{_tmppath}/%{name}-root

%description
test rpm

%prep

%build

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%_sysconfdir

date >> $RPM_BUILD_ROOT%_sysconfdir/%name

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%config(noreplace) %_sysconfdir/%name

%changelog
* Thu Apr 22 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1-1mdk
- initial build