[irclog2html] Updated
Fabian Affolter
fab at fedoraproject.org
Mon Apr 30 18:35:01 UTC 2012
commit 70ab6af270d00d38ce5dbe48923e2128ff6efaef
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date: Mon Apr 30 20:34:45 2012 +0200
Updated
irclog2html.spec | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/irclog2html.spec b/irclog2html.spec
index 5957b08..6001173 100644
--- a/irclog2html.spec
+++ b/irclog2html.spec
@@ -30,14 +30,14 @@ echo "You may need the irclog.css file. It is available at
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
-install -pm 755 %{name}.py %{buildroot}%{_bindir}/%{name}
+install -pm 0755 src/%{name}/%{name}.py %{buildroot}%{_bindir}/%{name}
# Keep bindir cleanish, most people will just want the main script.
mkdir -p %{buildroot}%{_datadir}/%{name}
-chmod a+x *.py
-cp -a * %{buildroot}%{_datadir}/%{name}/
+chmod a+x src/%{name}/*.py
+for file in irclogsearch.py logs2html.py xchatlogsplit.py irclog.css; do
+ install -pm 0644 src/%{name}/$file %{buildroot}%{_datadir}/%{name}/$file
+done
-%check
-make check
%clean
rm -rf %{buildroot}
More information about the scm-commits
mailing list