#980 beaker-tests: fix vera.spec for boost url
Merged 4 years ago by praiskup. Opened 4 years ago by praiskup.
Unknown source fix-beaker-tests  into  master

@@ -6,6 +6,7 @@

  License:        Boost

  %global commit0 cf13c413f641b5816a4fc9cd4b2fb248c81bf2bd

  URL:            https://github.com/verateam/%{name}

+ 

  Source0:        https://github.com/verateam/%{name}/archive/%{commit0}.tar.gz

  

  BuildRequires:  cmake
@@ -16,6 +17,8 @@

  BuildRequires:  lua-devel

  BuildRequires:  python2-devel

  

+ BuildRequires:  gcc-c++

+ 

  

  %description

  Vera++ is a programmable tool for verification, analysis and transformation of
@@ -26,6 +29,8 @@

  %prep

  %autosetup -n %{name}-%{commit0}

  

+ sed -i 's|URL http://${SOURCEFORGE}/project/boost/boost/1.60.0/boost_1_60_0.tar.bz2|URL http://sourceforge.net/projects/boost/files/boost/1.60.0/boost_1_60_0.tar.bz2|' src/boost.cmake

+ 

  %build

  %cmake .

  make %{?_smp_mflags}

@@ -29,6 +29,8 @@

  %prep

  %autosetup -n %{name}-%{commit0}

  

+ sed -i 's|URL http://${SOURCEFORGE}/project/boost/boost/1.60.0/boost_1_60_0.tar.bz2|URL http://sourceforge.net/projects/boost/files/boost/1.60.0/boost_1_60_0.tar.bz2|' src/boost.cmake

+ 

  %build

  %cmake .

  make %{?_smp_mflags}

The old URL stopped to work; so use a different one instead. We have
the vera.spec twice in the repo, so sync them.

Do we even run those regression tests?

No (at least me personally), but unless we plan to remove them I'd rather keep the file in sync (otherwise we'll re-observe the same issue in future). WDYT?

I was just curious how did you even encounter it. Yep, definitely, if it fails somewhere, we should update it, +1 from me ...

rebased onto 794a49d

4 years ago

Pull-Request has been merged by praiskup

4 years ago