From 6899ade860d4a9fbe5f9ce902a60fc04b36b05b2 Mon Sep 17 00:00:00 2001 From: Alejandro Alvarez Ayllon Date: Jan 27 2017 08:19:58 +0000 Subject: Remove trailing whitespaces --- diff --git a/srm-ifce-whitespaces.patch b/srm-ifce-whitespaces.patch new file mode 100644 index 0000000..295dfaf --- /dev/null +++ b/srm-ifce-whitespaces.patch @@ -0,0 +1,12 @@ +diff -urN srm-ifce.orig/cmake/modules/CMakeGeneratePkgConfig.cmake srm-ifce/cmake/modules/CMakeGeneratePkgConfig.cmake +--- srm-ifce.orig/cmake/modules/CMakeGeneratePkgConfig.cmake 2016-11-10 14:26:58.000000000 +0100 ++++ srm-ifce/cmake/modules/CMakeGeneratePkgConfig.cmake 2017-01-26 13:00:32.622154982 +0100 +@@ -25,7 +25,7 @@ + + + SET(CMAKE_PKGCONFIG_TEMPLATE_BASE " +-prefix=@PREFIX@ ++prefix=@PREFIX@ + exec_prefix= \\\${prefix} + libdir= @LIBDIR_VAR@ + includedir=@INCLUDE_VAR@ diff --git a/srm-ifce.spec b/srm-ifce.spec index c8a7c1a..f874852 100644 --- a/srm-ifce.spec +++ b/srm-ifce.spec @@ -3,7 +3,7 @@ Name: srm-ifce Version: 1.24.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: SRM client side library Group: Applications/Internet License: ASL 2.0 @@ -14,6 +14,7 @@ URL: https://svnweb.cern.ch/trac/lcgutil # popd # tar czf srm-ifce-1.24.1.tar.gz srm-ifce-1.24.1 Source0: %{name}-%{version}.tar.gz +Patch0: %{name}-whitespaces.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: cmake @@ -43,6 +44,7 @@ the srm-ifce. %prep %setup -q +%patch0 -p1 %build %cmake -D DOC_INSTALL_DIR=%{_pkgdocdir} . @@ -78,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT %{_pkgdocdir}/RELEASE-NOTES %changelog +* Fri Jan 27 2017 Alejandro Alvarez Ayllon - 1.24.1-2 +- Remove trailing whitespaces + * Thu Sep 22 2016 Alejandro Alvarez Ayllon - 1.24.1-1 - Release srm-ifce 1.24.1