aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/data/rpm/rpmbuild/SPECS/gbp-test-native2.spec
blob: 34fd33dc2762f111092205c70c4d0bf165a8e77e (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
Name:       gbp-test-native2
Summary:    Test package for git-buildpackage
Version:    2.0
Release:    0
Group:      Development/Libraries
License:    GPLv2
Source:     foo.txt
BuildRequires:  unzip

%description
Package for testing the RPM functionality of git-buildpackage.
Mimics a "native" package that doesn't have any source tarball.


%prep
# Just create build dir
%setup -T -c
cp %{SOURCE0} .


%build
# Nothing to do


%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_datadir}/%{name}
cp -R * %{buildroot}/%{_datadir}/%{name}



%files
%defattr(-,root,root,-)
%dir %{_datadir}/%{name}
%{_datadir}/%{name}