Update to 1.14

This commit is contained in:
Matthias Runge 2018-03-08 13:54:22 +01:00
parent 2afeee777d
commit 8d97270f98
3 changed files with 15 additions and 14 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
liblockfile_1.08.orig.tar.gz liblockfile_1.08.orig.tar.gz
/liblockfile_1.09.orig.tar.gz /liblockfile_1.09.orig.tar.gz
/liblockfile_1.14.orig.tar.gz

View File

@ -1,6 +1,6 @@
Name: liblockfile Name: liblockfile
Version: 1.09 Version: 1.14
Release: 8%{?dist} Release: 1%{?dist}
Summary: This implements a number of functions found in -lmail on SysV systems Summary: This implements a number of functions found in -lmail on SysV systems
Group: Applications/System Group: Applications/System
@ -28,25 +28,20 @@ developing applications that use %{name}.
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}
# remove -g root from install # 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 %build
%configure --enable-shared %configure --enable-shared --prefix=%{buildroot} --bindir=%{buildroot}%{_bindir} --mandir=%{buildroot}%{_mandir} --libdir=%{buildroot}%{_libdir} --includedir=%{buildroot}%{_includedir}
make %{?_smp_mflags} make
%install %install
rm -rf %{buildroot} export DESTDIR=%{buildroot}
mkdir -p %{buildroot}/%{_includedir} make install
mkdir -p %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/%{_libdir}
mkdir -p %{buildroot}/%{_mandir}/man1
mkdir -p %{buildroot}/%{_mandir}/man3
make ROOT=%{buildroot} install
ldconfig -N -n %{buildroot}/%{_libdir} ldconfig -N -n %{buildroot}/%{_libdir}
@ -68,11 +63,16 @@ ldconfig -N -n %{buildroot}/%{_libdir}
%{_libdir}/liblockfile.so %{_libdir}/liblockfile.so
%{_includedir}/maillock.h %{_includedir}/maillock.h
%{_includedir}/lockfile.h %{_includedir}/lockfile.h
%{_libdir}/liblockfile.a
%{_mandir}/man3/lockfile_create.3* %{_mandir}/man3/lockfile_create.3*
%{_mandir}/man3/maillock.3* %{_mandir}/man3/maillock.3*
%changelog %changelog
* Thu Mar 08 2018 Matthias Runge <mrunge@redhat.com> - 1.14-1
- update to 1.14 (rhbz#1548753)
- fixed build flags injection (rhbz#1548706)
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-8 * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +1 @@
2aa269e4405ee8235ff17d1b357c6ae8 liblockfile_1.09.orig.tar.gz SHA512 (liblockfile_1.14.orig.tar.gz) = d6d75a1ddb55bae8ee63bd0cbacf7ab8cd6d28b29a7d3c2e4a5c31c76c6743ed517cdebd42e3ef5c44698faebfd1537b023510c692b54a1275e7114605fe6550