blob: a54ffade18d21f7e7d36beda60a0a7b0fc96d1bc (
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
|
# For CPAN testers that run FreeBSD:
%global __brp_strip_static_archive %nil
Summary: arch_to_noarch
Name: arch_to_noarch
Version: 3
Release: 1
License: x
BuildArch: noarch
%prep
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/lib/test-%{name}
echo foo > $RPM_BUILD_ROOT/usr/lib/test-%{name}/foo
%clean
rm -rf $RPM_BUILD_ROOT
%description
this pkg is now a noarch
%files
%defattr(-,root,root)
%config(noreplace) /usr/lib/test-%{name}
|