From 8d97270f9848f8a2ddbfcc1e12cb4454a24659f9 Mon Sep 17 00:00:00 2001 From: Matthias Runge Date: Thu, 8 Mar 2018 13:54:22 +0100 Subject: [PATCH] Update to 1.14 --- .gitignore | 1 + liblockfile.spec | 26 +++++++++++++------------- sources | 2 +- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 5980773..0a7ba44 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ liblockfile_1.08.orig.tar.gz /liblockfile_1.09.orig.tar.gz +/liblockfile_1.14.orig.tar.gz diff --git a/liblockfile.spec b/liblockfile.spec index 51ed962..87bb2dd 100644 --- a/liblockfile.spec +++ b/liblockfile.spec @@ -1,6 +1,6 @@ Name: liblockfile -Version: 1.09 -Release: 8%{?dist} +Version: 1.14 +Release: 1%{?dist} Summary: This implements a number of functions found in -lmail on SysV systems Group: Applications/System @@ -28,25 +28,20 @@ developing applications that use %{name}. %prep -%setup -q -n %{name}-%{version} +%setup -q -n %{name} # remove -g root from install -sed -i "s/install -g root -m 755 dotlockfile \$(ROOT)\$(bindir);/install -m 755 dotlockfile \$(ROOT)\$(bindir);/" Makefile.in +sed -i "s/-g root//" Makefile.in %build -%configure --enable-shared -make %{?_smp_mflags} +%configure --enable-shared --prefix=%{buildroot} --bindir=%{buildroot}%{_bindir} --mandir=%{buildroot}%{_mandir} --libdir=%{buildroot}%{_libdir} --includedir=%{buildroot}%{_includedir} +make %install -rm -rf %{buildroot} -mkdir -p %{buildroot}/%{_includedir} -mkdir -p %{buildroot}/%{_bindir} -mkdir -p %{buildroot}/%{_libdir} -mkdir -p %{buildroot}/%{_mandir}/man1 -mkdir -p %{buildroot}/%{_mandir}/man3 -make ROOT=%{buildroot} install +export DESTDIR=%{buildroot} +make install ldconfig -N -n %{buildroot}/%{_libdir} @@ -68,11 +63,16 @@ ldconfig -N -n %{buildroot}/%{_libdir} %{_libdir}/liblockfile.so %{_includedir}/maillock.h %{_includedir}/lockfile.h +%{_libdir}/liblockfile.a %{_mandir}/man3/lockfile_create.3* %{_mandir}/man3/maillock.3* %changelog +* Thu Mar 08 2018 Matthias Runge - 1.14-1 +- update to 1.14 (rhbz#1548753) +- fixed build flags injection (rhbz#1548706) + * Wed Feb 07 2018 Fedora Release Engineering - 1.09-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index ca2c161..4ae1ad5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2aa269e4405ee8235ff17d1b357c6ae8 liblockfile_1.09.orig.tar.gz +SHA512 (liblockfile_1.14.orig.tar.gz) = d6d75a1ddb55bae8ee63bd0cbacf7ab8cd6d28b29a7d3c2e4a5c31c76c6743ed517cdebd42e3ef5c44698faebfd1537b023510c692b54a1275e7114605fe6550