summaryrefslogtreecommitdiff
path: root/test/spec/SpecCheck2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec/SpecCheck2.spec')
-rw-r--r--test/spec/SpecCheck2.spec21
1 files changed, 14 insertions, 7 deletions
diff --git a/test/spec/SpecCheck2.spec b/test/spec/SpecCheck2.spec
index 189f522..3fb11d4 100644
--- a/test/spec/SpecCheck2.spec
+++ b/test/spec/SpecCheck2.spec
@@ -14,29 +14,36 @@ Patch3: Patch3.patch
Patch4: Patch4.patch
Patch5: Patch5.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: source-for-second-rpm
+BuildArch: noarch
+ExclusiveArch: i586
+Requires: Oneanotherthing>=1.0
+Conflicts: Onelastthing==2.0
%description
-SpecCheck test 2.
-
+macro-in-%changelog-deptoken:-
+(Developer Note)
+ Macro can cause a warning which you can escape by using %%buildroot or
+ %+buildroot or %.buildroot or any othersign prefixed with %
+ for example %(-, +, .) and so on.
+ Make sure you exclude %_buildroot or usage of % followed by _
%prep
%autosetup
-
%build
-
+%configure
+./configure --libdir=%{_libdir}
+make %{_libdir}
%install
rm -rf $RPM_BUILD_ROOT
-
%clean
rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(-,root,root,-)
%{_libdir}/foo
-
%changelog