here is the begining of my spec file:
----------------------------------------------------------------- Name: rstudio-server Version: 0.99.800 Release: 1%{?dist} Summary: Rstudio Server lets you access Rstudio from anywhere using a web browser URL: http://www.rstudio.com Source0: github.com/rstudio/rstudio/archive/v%{version}.tar.gz Source1: rstudio-server.service License: AGPLv3 Group: Applications/Editors BuildRequires: cmake >= 2.8 BuildRequires: boost >= 1.5 BuildRequires: java-1.8.0-openjdk-headless BuildRequires: java-headless BuildRequires: ant BuildRequires: unzip BuildRequires: openssl BuildRequires: bzip2-devel BuildRequires: pango BuildRequires: pam BuildRequires: zlib Requires: R-intel >= 2.11.1 Requires: boost >= 1.5 Requires: util-linux Requires: git
%description blah blah
%prep %autosetup
--------------------
$ rpmbuild -bp MySpec
............... the tar package does not download.
The URL is fine as tested with wget, and with https://github.com/rstudio/rstudio/archive/v0.99.800.tar.gz , same result
What am I missing?
Thank you
On Fri, Dec 4, 2015 at 5:42 PM, arnaud gaboury arnaud.gaboury@gmail.com wrote:
here is the begining of my spec file:
Name: rstudio-server Version: 0.99.800 Release: 1%{?dist} Summary: Rstudio Server lets you access Rstudio from anywhere using a web browser URL: http://www.rstudio.com Source0: github.com/rstudio/rstudio/archive/v%{version}.tar.gz Source1: rstudio-server.service License: AGPLv3 Group: Applications/Editors BuildRequires: cmake >= 2.8 BuildRequires: boost >= 1.5 BuildRequires: java-1.8.0-openjdk-headless BuildRequires: java-headless BuildRequires: ant BuildRequires: unzip BuildRequires: openssl BuildRequires: bzip2-devel BuildRequires: pango BuildRequires: pam BuildRequires: zlib Requires: R-intel >= 2.11.1 Requires: boost >= 1.5 Requires: util-linux Requires: git
%description blah blah
%prep %autosetup
$ rpmbuild -bp MySpec
............... the tar package does not download.
The URL is fine as tested with wget, and with https://github.com/rstudio/rstudio/archive/v0.99.800.tar.gz , same result
What am I missing?
When downloading manually the tar package, I got a exit 0 result, so OK. It seems I was wrong when thinking the package would be downloaded during the rpm.
Thank you
--
google.com/+arnaudgabourygabx
On Fri, 4 Dec 2015 17:42:02 +0100, arnaud gaboury wrote:
Source0: github.com/rstudio/rstudio/archive/v%{version}.tar.gz
$ rpmbuild -bp MySpec
............... the tar package does not download.
The URL is fine as tested with wget, and with https://github.com/rstudio/rstudio/archive/v0.99.800.tar.gz , same result
What am I missing?
Well, rpmbuild does not download source files for you.
On Fri, Dec 4, 2015 at 10:42 AM, arnaud gaboury arnaud.gaboury@gmail.com wrote:
Source0: github.com/rstudio/rstudio/archive/v%{version}.tar.gz
Ther's no "https://" on the front.
the tar package does not download.
rpmbuild will not download it for you that I know of.
Thanks, Richard
On 12/04/2015 08:42 AM, arnaud gaboury wrote:
$ rpmbuild -bp MySpec
............... the tar package does not download.
rpmbuild doesn't download sources, but IIRC "fedpkg" does.
On 12/04/2015 10:20 AM, Gordon Messmer wrote:
On 12/04/2015 08:42 AM, arnaud gaboury wrote:
$ rpmbuild -bp MySpec
............... the tar package does not download.
rpmbuild doesn't download sources, but IIRC "fedpkg" does.
Uhm, yeah, but from dist-git repos only, I think. fedora-review also downloads and I don't think it's dist-git specific (it uses the method in the "SourceX" URL). Not 100% sure on that, I've never used it. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - Brain: The organ with which we think that we think. - ----------------------------------------------------------------------
On Fri, 4 Dec 2015 10:20:33 -0800, Gordon Messmer wrote:
On 12/04/2015 08:42 AM, arnaud gaboury wrote:
$ rpmbuild -bp MySpec
............... the tar package does not download.
rpmbuild doesn't download sources, but IIRC "fedpkg" does.
spectool -g foo.spec
;-)
$ rpm -qf $(which spectool) rpmdevtools-8.6-2.fc23.noarch