Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Updated rpm spec file to work with 1.9.
Issue #10939: #10939
  • Loading branch information
lobbin authored and ariya committed Apr 29, 2013
1 parent ba1ff4c commit 9b4a3db
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions rpm/phantomjs.spec
@@ -1,5 +1,5 @@
%define name phantomjs
%define version 1.8
%define version 1.9
%define release 1
%define prefix /usr

Expand All @@ -23,11 +23,9 @@ Canvas, and SVG. PhantomJS is created by Ariya Hidayat.
%prep
%setup -q

%setup
%install
mkdir -p %{mybuilddir}%{prefix}/bin
mkdir -p %{mybuilddir}%{prefix}/share/%{name}/examples

%install
cp bin/%{name} %{mybuilddir}%{prefix}/bin/%{name}
cp examples/* %{mybuilddir}%{prefix}/share/%{name}/examples/
cp CONTRIBUTING.md %{mybuilddir}%{prefix}/share/%{name}/
Expand Down Expand Up @@ -134,8 +132,19 @@ cp README.md %{mybuilddir}%{prefix}/share/%{name}/
%{prefix}/share/%{name}/examples/printmargins.coffee
%{prefix}/share/%{name}/examples/server.coffee
%{prefix}/share/%{name}/examples/serverkeepalive.coffee
%{prefix}/share/%{name}/examples/child_process-examples.coffee
%{prefix}/share/%{name}/examples/child_process-examples.js
%{prefix}/share/%{name}/examples/loadurlwithoutcss.coffee
%{prefix}/share/%{name}/examples/loadurlwithoutcss.js
%{prefix}/share/%{name}/examples/stdin-stdout-stderr.coffee
%{prefix}/share/%{name}/examples/stdin-stdout-stderr.js
%{prefix}/share/%{name}/examples/weather.coffee
%{prefix}/share/%{name}/examples/weather.js

%changelog
* Wed Apr 24 2012 Robin Helgelin <lobbin@gmail.com>
- updated to version 1.9

* Thu Jan 24 2013 Matthew Barr <mbarr@snap-interactive.com>
- updated to version 1.8

Expand Down

0 comments on commit 9b4a3db

Please sign in to comment.