diff options
Diffstat (limited to 'test/spec/setup-not-in-prep.spec')
-rw-r--r-- | test/spec/setup-not-in-prep.spec | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/spec/setup-not-in-prep.spec b/test/spec/setup-not-in-prep.spec new file mode 100644 index 0000000..e54d7d4 --- /dev/null +++ b/test/spec/setup-not-in-prep.spec @@ -0,0 +1,23 @@ +Name: setup-not-in-prep +Version: 0 +Release: 0 +Summary: setup-not-in-prep warning +License: GPL-2.0-only +Group: Undefined +URL: http://rpmlint.zarb.org/#%{name} +Source0: Source0.tar.gz + +%description +The %setup macro should only be used within the %prep section because it may +not expand to anything outside of it and can break the build in unpredictable. + +%setup + +%prep + +%build + +%files +%{_libdir}/foo + +%changelog |