From ad7062db23b71c80e46710d31cfb4d658aa248ad Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 8 May 2018 16:56:24 -0400 Subject: [PATCH] Fix FSF address. --- Fix-FSF-address.patch | 42 ++++++++++++++++++++++++++++++++++++++++++ R-quadprog.spec | 5 +++++ 2 files changed, 47 insertions(+) create mode 100644 Fix-FSF-address.patch diff --git a/Fix-FSF-address.patch b/Fix-FSF-address.patch new file mode 100644 index 0000000..6c7b1a8 --- /dev/null +++ b/Fix-FSF-address.patch @@ -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: diff --git a/R-quadprog.spec b/R-quadprog.spec index f5ecdaa..df1a7a8 100644 --- a/R-quadprog.spec +++ b/R-quadprog.spec @@ -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