SPECS (AC-branch): test.spec - builder script fooling
glen
glen at pld-linux.org
Tue Feb 12 01:37:47 CET 2008
Author: glen Date: Tue Feb 12 00:37:47 2008 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- builder script fooling
---- Files affected:
SPECS:
test.spec (1.16.4.75 -> 1.16.4.76)
---- Diffs:
================================================================
Index: SPECS/test.spec
diff -u SPECS/test.spec:1.16.4.75 SPECS/test.spec:1.16.4.76
--- SPECS/test.spec:1.16.4.75 Tue Feb 12 01:30:06 2008
+++ SPECS/test.spec Tue Feb 12 01:37:42 2008
@@ -5,18 +5,23 @@
#
Summary: test
Name: testarch
-Version: 2
+Version: 3
Release: 0.2
License: GPL
Group: Applications/System
-%if %{with source}
-BuildArch: noarch
-%endif
+%{?with_noarch:BuildArch: noarch}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
This package should be never installed.
+%package source
+Summary: source
+Group: Applications/System
+
+%description source
+source
+
%prep
%setup -qcT
echo "target: %{_arch}"
@@ -28,8 +33,15 @@
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT
+%if %{without noarch}
%files
%defattr(644,root,root,755)
+%endif
+
+%if %{with noarch}
+%files source
+%defattr(644,root,root,755)
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -37,6 +49,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.16.4.76 2008-02-12 00:37:42 glen
+- builder script fooling
+
Revision 1.16.4.75 2008-02-12 00:30:06 glen
- remove automatic bcond tune on --target
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/test.spec?r1=1.16.4.75&r2=1.16.4.76&f=u
More information about the pld-cvs-commit
mailing list