summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/arch_to_noarch_1.spec
diff options
context:
space:
mode:
Diffstat (limited to 't/data/SPECS/arch_to_noarch_1.spec')
-rw-r--r--t/data/SPECS/arch_to_noarch_1.spec28
1 files changed, 28 insertions, 0 deletions
diff --git a/t/data/SPECS/arch_to_noarch_1.spec b/t/data/SPECS/arch_to_noarch_1.spec
new file mode 100644
index 00000000..05cff446
--- /dev/null
+++ b/t/data/SPECS/arch_to_noarch_1.spec
@@ -0,0 +1,28 @@
+Summary: arch_to_noarch
+Name: arch_to_noarch
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%prep
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/usr/lib/test-%{name}
+cp /sbin/ldconfig $RPM_BUILD_ROOT/usr/lib/test-%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%description
+this pkg own a binary file
+
+%files
+%defattr(-,root,root)
+%config(noreplace) /usr/lib/test-%{name}
+