Update to 1.14
This commit is contained in:
parent
2afeee777d
commit
8d97270f98
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
liblockfile_1.08.orig.tar.gz
|
||||
/liblockfile_1.09.orig.tar.gz
|
||||
/liblockfile_1.14.orig.tar.gz
|
||||
|
@ -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 <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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user