diff --git a/c/todo.txt b/c/todo.txt
index ae627ede7..58797c159 100644
--- a/c/todo.txt
+++ b/c/todo.txt
@@ -38,22 +38,6 @@ TOP-OF-LIST SUMMARY
- boolean literals
- typed overlay
-----------------------------------------------------------------
-* centos:
- https://wiki.centos.org/HowTos/Packages/ContributeYourRPMs
- https://lists.centos.org/pipermail/centos/2012-September/129227.html
- http://www.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html
-* redhat?
- https://fedoraproject.org/wiki/Join_the_package_collection_maintainers
- https://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group
- https://fedoraproject.org/wiki/Package_Review_Process
- https://docs.fedoraproject.org/ro/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch11s03.html
- http://www.tldp.org/HOWTO/RPM-HOWTO/build.html
- https://fedoraproject.org/wiki/How_to_create_an_RPM_package
- https://fedoraproject.org/wiki/How_to_create_a_GNU_Hello_RPM_package
- rpmlint miller.spec
- rpmbuild -ba miller.spec
-
----------------------------------------------------------------
TOP-OF-LIST DETAILS
diff --git a/doc/build.html b/doc/build.html
index 892dca113..e7a4ffa8d 100644
--- a/doc/build.html
+++ b/doc/build.html
@@ -146,7 +146,7 @@ Miller commands were run with pretty-print-tabular output format.
• Required external dependencies
• Optional external dependencies
• Internal dependencies
-• License
+• Miller license
@@ -324,7 +324,7 @@ copyright.
The udp JSON parser, with BSD2 license.
-License
+Miller license
Two-clause BSD license
https://github.com/johnkerl/miller/blob/master/LICENSE.txt.
diff --git a/doc/content-for-build.html b/doc/content-for-build.html
index 64ba939b3..7a48318f9 100644
--- a/doc/content-for-build.html
+++ b/doc/content-for-build.html
@@ -162,7 +162,7 @@ copyright.
The udp JSON parser, with BSD2 license.
-License
+Miller license
Two-clause BSD license
https://github.com/johnkerl/miller/blob/master/LICENSE.txt.
diff --git a/miller.spec b/miller.spec
index dbee1bc91..2fa31b05a 100644
--- a/miller.spec
+++ b/miller.spec
@@ -7,8 +7,7 @@ Group: Applications/Text
Source: https://github.com/johnkerl/miller/releases/download/v3.3.2/mlr-3.3.2.tar.gz
URL: http://johnkerl.org/miller/doc
Distribution: Fedora Project
-Vendor: John Kerl
-Packager: John Kerl
+BuildRequires: flex >= 2.5.35
%description
Miller (mlr) allows name-indexed data such as CSV and JSON files to be
@@ -18,7 +17,7 @@ streams data where possible so its memory requirements stay small. It works
well with pipes and can feed "tail -f".
%prep
-%setup
+%setup -q
%build
%configure
@@ -32,12 +31,13 @@ make install
make clean
%clean
-%make clean
+make clean
%files
+%attr(755, root, root) %{_bindir}/mlr
+%defattr(644, root, root, -)
%{_mandir}/man1/mlr.1
-%{_bindir}/mlr
-
+%attr(644, root, root)
%license LICENSE.txt
%doc README.md
diff --git a/rpm-info.txt b/rpm-info.txt
new file mode 100644
index 000000000..6f4cf985f
--- /dev/null
+++ b/rpm-info.txt
@@ -0,0 +1,64 @@
+----------------------------------------------------------------
+Have ~/rpmbuild/SPECS and put miller.spec there
+Have ~/rpmbuild/SOURCES and put mlr-3.3.2.tar.gz there
+cd ~/rpmbuild/SPECS
+
+rpmlint miller.spec
+
+rpmbuild -bs miller.spec
+Wrote: /home/kerl/rpmbuild/SRPMS/mlr-3.3.2-1.el6.src.rpm
+kerl@dev037[s0j0d1][pwd:SPECS]$ v ../SPECS/
+
+rpm -qpl ../SRPMS/mlr-3.3.2-1.el6.src.rpm
+miller.spec
+mlr-3.3.2.tar.gz
+
+rpm -qpi ../SRPMS/mlr-3.3.2-1.el6.src.rpm
+Name : mlr Relocations: (not relocatable)
+Version : 3.3.2 Vendor: John Kerl
+Release : 1.el6 Build Date: Sun 07 Feb 2016 07:32:38 PM EST
+Install Date: (not installed) Build Host: host.name.goes.here
+Group : Applications/Text Source RPM: (none)
+Size : 774311 License: BSD2
+Signature : (none)
+Packager : John Kerl
+URL : http://johnkerl.org/miller/doc
+Summary : Name-indexed data processing tool
+Description :
+Miller (mlr) allows name-indexed data such as CSV and JSON files to be
+processed with functions equivalent to sed, awk, cut, join, sort etc. It can
+convert between formats, preserves headers when sorting or reversing, and
+streams data where possible so its memory requirements stay small. It works
+well with pipes and can feed "tail -f".
+
+----------------------------------------------------------------
+sudo chmod 0777 /usr/bin
+sudo chmod 0777 /usr/share/man/man1
+
+rpmbuild -ba miller.spec
+
+sudo chmod 0755 /usr/bin
+sudo chmod 0755 /usr/share/man/man1
+
+----------------------------------------------------------------
+RPM build errors:
+ File not found: /home/kerl/rpmbuild/BUILDROOT/mlr-3.3.2-1.el6.x86_64/usr/bin/mlr
+ File not found: /home/kerl/rpmbuild/BUILDROOT/mlr-3.3.2-1.el6.x86_64/usr/share/man/man1/mlr.1
+ File must begin with "/": BSD2
+ File must begin with "/": LICENSE.txt
+ %defattr doesn't define directory mode so file mode defined in %defattr is used for directory: /home/kerl/rpmbuild/BUILDROOT/mlr-3.3.2-1.el6.x86_64/usr/share/doc/mlr-3.3.2
+
+----------------------------------------------------------------
+* centos:
+ https://wiki.centos.org/HowTos/Packages/ContributeYourRPMs
+ https://lists.centos.org/pipermail/centos/2012-September/129227.html
+ http://www.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html
+
+* fedora:
+ https://fedoraproject.org/wiki/Join_the_package_collection_maintainers
+ https://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group
+ https://fedoraproject.org/wiki/Package_Review_Process
+ https://docs.fedoraproject.org/ro/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch11s03.html
+ http://www.tldp.org/HOWTO/RPM-HOWTO/build.html
+ https://fedoraproject.org/wiki/How_to_create_an_RPM_package
+ https://fedoraproject.org/wiki/How_to_create_a_GNU_Hello_RPM_package