Martin Pluskal 2015-04-23 09:25:22 +00:00 committed by Git OBS Bridge
parent 7cbc0c5108
commit 639a76b7de
5 changed files with 21 additions and 43 deletions

View File

@ -1,28 +0,0 @@
Makefile.in | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 315b28e..3d19ef3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -109,16 +109,16 @@ THIN_RESTORE_OBJECTS=$(subst .cc,.o,$(THIN_RESTORE_SOURCE))
THIN_CHECK_OBJECTS=$(subst .cc,.o,$(THIN_CHECK_SOURCE))
thin_debug: $(THIN_DEBUG_OBJECTS) thin_debug.o
- $(CXX) $(CXXFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
thin_dump: $(THIN_DUMP_OBJECTS) thin_dump.o
- $(CXX) $(CXXFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
thin_restore: $(THIN_RESTORE_OBJECTS) thin_restore.o
- $(CXX) $(CXXFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
thin_check: $(THIN_CHECK_OBJECTS) thin_check.o
- $(CXX) $(CXXFLAGS) -o $@ $+ $(LIBS)
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS)
clean:
$(RM) *.o unit-tests/*.o *.d unit-tests/*.d $(TEST_PROGRAMS) $(PROGRAMS)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5694d3c3fba28e53dd5f91bef705265f05f84c464c934eaab6d050861dea46fc
size 174167

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 23 09:25:05 UTC 2015 - mpluskal@suse.com
- Update to 0.4.1
-------------------------------------------------------------------
Wed Feb 6 13:29:41 UTC 2013 - martin@pluskal.org

View File

@ -1,7 +1,7 @@
#
# spec file for package thin-provisioning-tools
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,39 +17,40 @@
Name: thin-provisioning-tools
Version: 0.1.5
Version: 0.4.1
Release: 0
Summary: Thin Provisioning Tools
License: GPL-3.0
Group: System/Base
Url: https://github.com/jthornber/thin-provisioning-tools/
Source: thin-provisioning-tools-0.1.5.tar.bz2
Patch0: ldflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: boost-devel
BuildRequires: gcc-c++
BuildRequires: libaio-devel
BuildRequires: libexpat-devel
BuildRequires: libtool
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A suite of tools for thin provisioning on Linux.
%prep
%setup
%patch0 -p1
%setup -q
%build
autoreconf
%configure --bindir=/bin --libdir=/%_lib --with-optimisation=""
make %{?jobs:-j%jobs}
autoreconf -fi
%configure \
--with-optimisation=""
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} BINDIR=${RPM_BUILD_ROOT}/usr/bin
make install DESTDIR=%{buildroot} MANDIR=%{_mandir} BINDIR=%{buildroot}%{_bindir}
%files
%defattr(-,root,root)
%doc COPYING README
%doc COPYING
%{_bindir}/*
%{_mandir}/man8/*

3
v0.4.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59c8a787df8d4828bf9ca1b6310584f2b7723068901e20aa609015ce85df1d46
size 186979