[packages/gflags] - updated to 2.1.2 - removed obsolete libversion patch
qboosh
qboosh at pld-linux.org
Wed Apr 13 15:21:04 CEST 2016
commit 0b0ad8616c94e3849a9cb7cd71223af504a88abc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Apr 13 15:21:06 2016 +0200
- updated to 2.1.2
- removed obsolete libversion patch
gflags-libversion.patch | 11 -----------
gflags.spec | 17 ++++++++---------
2 files changed, 8 insertions(+), 20 deletions(-)
---
diff --git a/gflags.spec b/gflags.spec
index 8930c45..d333b0c 100644
--- a/gflags.spec
+++ b/gflags.spec
@@ -1,17 +1,17 @@
Summary: A commandline flags library that allows for distributed flags
Summary(pl.UTF-8): Biblioteka flag linii poleceń pozwalająca na rozproszone flagi
Name: gflags
-Version: 2.1.1
-Release: 4
+Version: 2.1.2
+Release: 1
License: BSD
Group: Libraries
+#Source0Download: https://github.com/gflags/gflags/releases
Source0: https://github.com/schuhschuh/gflags/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 18acc0ae270672a70a86b33ebbe9761b
+# Source0-md5: ac432de923f9de1e9780b5254884599f
Source1: libgflags.pc
Source2: libgflags_nothreads.pc
-Patch0: %{name}-libversion.patch
-Patch1: %{name}-nothreads.patch
-URL: http://code.google.com/p/gflags/
+Patch0: %{name}-nothreads.patch
+URL: http://gflags.github.io/gflags/
BuildRequires: cmake >= 2.8.4
BuildRequires: libstdc++-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -56,7 +56,6 @@ Statyczna biblioteka gflags.
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%{__sed} -i \
-e 's|LIBRARY_INSTALL_DIR lib|LIBRARY_INSTALL_DIR %{_lib}|g' \
@@ -91,7 +90,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS.txt COPYING.txt ChangeLog.txt NEWS.txt README.txt
+%doc AUTHORS.txt COPYING.txt ChangeLog.txt README.md
%attr(755,root,root) %{_bindir}/gflags_completions.sh
%attr(755,root,root) %{_libdir}/libgflags.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libgflags.so.2
@@ -100,7 +99,7 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(644,root,root,755)
-%doc doc/{gflags.html,designstyle.css}
+%doc doc/{index.html,designstyle.css}
%attr(755,root,root) %{_libdir}/libgflags.so
%attr(755,root,root) %{_libdir}/libgflags_nothreads.so
%{_includedir}/gflags
diff --git a/gflags-libversion.patch b/gflags-libversion.patch
deleted file mode 100644
index d33e08a..0000000
--- a/gflags-libversion.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gflags-2.1.1/CMakeLists.txt.orig 2014-03-30 16:41:29.000000000 +0200
-+++ gflags-2.1.1/CMakeLists.txt 2014-10-18 20:36:53.007925298 +0200
-@@ -257,6 +257,8 @@
- set_target_properties (
- gflags${opts}-${type} PROPERTIES COMPILE_DEFINITIONS "${defines}"
- OUTPUT_NAME "gflags${opts}"
-+ VERSION ${PACKAGE_VERSION}
-+ SOVERSION 2
- )
- if (HAVE_SHLWAPI_H)
- target_link_libraries (gflags${opts}-${type} shlwapi.lib)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gflags.git/commitdiff/0b0ad8616c94e3849a9cb7cd71223af504a88abc
More information about the pld-cvs-commit
mailing list