[irclog2html/f15] * Mon May 14 2012 Fabian Affolter <mail at fabian-affolter.ch> - 2.10.0-2 - Install section fixed
Fabian Affolter
fab at fedoraproject.org
Mon May 14 17:25:05 UTC 2012
commit 9241cf1e3a75f22de92f55b3b0bac33cda605b5c
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date: Mon May 14 19:24:51 2012 +0200
* Mon May 14 2012 Fabian Affolter <mail at fabian-affolter.ch> - 2.10.0-2
- Install section fixed
irclog2html.spec | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/irclog2html.spec b/irclog2html.spec
index 6001173..d8d2bbd 100644
--- a/irclog2html.spec
+++ b/irclog2html.spec
@@ -29,14 +29,7 @@ echo "You may need the irclog.css file. It is available at
%install
rm -rf %{buildroot}
-mkdir -p %{buildroot}%{_bindir}
-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 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
+%{__python} setup.py install --skip-build --root %{buildroot}
%clean
@@ -49,6 +42,9 @@ rm -rf %{buildroot}
%{_datadir}/%{name}
%changelog
+* Mon May 14 2012 Fabian Affolter <mail at fabian-affolter.ch> - 2.10.0-2
+- Install section fixed
+
* Sun Apr 29 2012 Fabian Affolter <mail at fabian-affolter.ch> - 2.10.0-1
- Switch to usage of the provided tarball
- Updated to new upstream version 2.10.0
More information about the scm-commits
mailing list