Fix FSF address.

This commit is contained in:
Elliott Sales de Andrade 2018-05-08 16:56:24 -04:00
parent ecac0dc77e
commit ad7062db23
2 changed files with 47 additions and 0 deletions

42
Fix-FSF-address.patch Normal file
View File

@ -0,0 +1,42 @@
diff -uPNr quadprog.orig/src/aind.f quadprog/src/aind.f
--- quadprog.orig/src/aind.f 2013-04-17 04:35:43.000000000 -0400
+++ quadprog/src/aind.f 2018-05-08 16:54:51.123647265 -0400
@@ -13,8 +13,8 @@
c
c You should have received a copy of the GNU General Public License
c along with this program; if not, write to the Free Software
-c Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
-c USA.
+c Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+c MA 02110-1301 USA.
c
c this routine checks whether Aind has valid entries, i.e.,
diff -uPNr quadprog.orig/src/solve.QP.compact.f quadprog/src/solve.QP.compact.f
--- quadprog.orig/src/solve.QP.compact.f 2013-04-17 04:35:43.000000000 -0400
+++ quadprog/src/solve.QP.compact.f 2018-05-08 16:55:05.458517628 -0400
@@ -13,8 +13,8 @@
c
c You should have received a copy of the GNU General Public License
c along with this program; if not, write to the Free Software
-c Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
-c USA.
+c Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+c MA 02110-1301 USA.
c
c this routine uses the Goldfarb/Idnani algorithm to solve the
c following minimization problem:
diff -uPNr quadprog.orig/src/solve.QP.f quadprog/src/solve.QP.f
--- quadprog.orig/src/solve.QP.f 2013-04-17 04:35:43.000000000 -0400
+++ quadprog/src/solve.QP.f 2018-05-08 16:55:10.648470691 -0400
@@ -13,8 +13,8 @@
c
c You should have received a copy of the GNU General Public License
c along with this program; if not, write to the Free Software
-c Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
-c USA.
+c Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+c MA 02110-1301 USA.
c
c this routine uses the Goldfarb/Idnani algorithm to solve the
c following minimization problem:

View File

@ -10,6 +10,7 @@ Summary: Functions to solve Quadratic Programming Problems
License: GPLv2+
URL: https://cran.r-project.org/web/packages/%{packname}/index.html
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packvers}.tar.gz
Patch0001: Fix-FSF-address.patch
# Here's the R view of the dependencies world:
# Depends:
@ -29,6 +30,10 @@ programming problems.
%prep
%setup -q -c -n %{packname}
pushd %{packname}
%patch0001 -p1
popd
%build