Summary(zh_CN.UTF-8): Titanium Linux Distribution 版本文件。
Name: issue
Version: %{distversion}
-Release: 5
+Release: 6
License: GPL
Group: Base
Provides: issue-package
Obsoletes: issue-logo
Obsoletes: issue-package
Obsoletes: issue-pure
-Obsoletes: mandrake-release
-Obsoletes: redhat-release
Conflicts: issue-alpha < 2.99-2
Conflicts: issue-fancy < 2.99-2
Conflicts: issue-logo < 2.99-2
echo "Titanium Linux Distribution %{distversion}" > $RPM_BUILD_ROOT%{_sysconfdir}/tld-release
+# CPE_NAME = cpe:/ {part} : {vendor} : {product} : {version} : {update} : {edition} : {language}
+# http://cpe.mitre.org/specification/
+cat >$RPM_BUILD_ROOT%{_sysconfdir}/os-release <<EOF
+NAME="Titanium Linux Distribution"
+VERSION="%{distversion}"
+ID="tld"
+VERSION_ID="%{distversion}"
+PRETTY_NAME="Titanium Linux Distribution %{distversion}"
+ANSI_COLOR="0;32"
+CPE_NAME="cpe:/o:tld-linux:tld:%{distversion}"
+EOF
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%{_sysconfdir}/os-release
%{_sysconfdir}/tld-release
%config(noreplace) %{_sysconfdir}/issue*