summaryrefslogtreecommitdiff
path: root/test/spec/buildprereq-use.spec
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec/buildprereq-use.spec')
-rw-r--r--test/spec/buildprereq-use.spec25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/spec/buildprereq-use.spec b/test/spec/buildprereq-use.spec
new file mode 100644
index 0000000..84ffb38
--- /dev/null
+++ b/test/spec/buildprereq-use.spec
@@ -0,0 +1,25 @@
+Name: buildprereq-use
+Version: 0
+Release: 0
+Summary: buildprereq-use warning
+License: GPL-2.0-only
+Group: Undefined
+URL: http://rpmlint.zarb.org/#%{name}
+Source0: Source0.tar.gz
+BuildPreReq: Something
+
+%description
+The use of BuildPreReq is deprecated, build dependencies are always required
+before a package can be built. Use plain BuildRequires instead.
+
+%prep
+ %autosetup
+
+%build
+
+%install
+
+%files
+%{_libdir}/foo
+
+%changelog