2010-11-25 16:31:41 +00:00
|
|
|
# Where lock files are stored
|
2014-11-03 13:04:15 +00:00
|
|
|
%global _lockdir /run/lock/lockdev
|
2010-11-25 16:31:41 +00:00
|
|
|
|
2011-10-19 10:11:43 +00:00
|
|
|
%global checkout 20111007git
|
|
|
|
%global co_date 2011-10-07
|
|
|
|
|
2011-10-20 12:48:59 +00:00
|
|
|
#http://lists.fedoraproject.org/pipermail/devel/2011-August/155358.html
|
|
|
|
%global _hardened_build 1
|
|
|
|
|
2007-04-12 20:52:23 +00:00
|
|
|
Summary: A library for locking devices
|
2004-09-09 07:58:08 +00:00
|
|
|
Name: lockdev
|
2011-10-19 10:11:43 +00:00
|
|
|
Version: 1.0.4
|
2024-10-29 15:46:44 +00:00
|
|
|
Release: 0.46.%{checkout}%{?dist}
|
2024-05-22 15:47:21 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2011-10-19 10:56:22 +00:00
|
|
|
URL: https://alioth.debian.org/projects/lockdev/
|
2006-07-19 21:47:39 +00:00
|
|
|
|
2011-10-19 10:11:43 +00:00
|
|
|
# This is a nightly snapshot downloaded via
|
|
|
|
# https://alioth.debian.org/snapshots.php?group_id=100443
|
|
|
|
Source0: lockdev-%{version}.%{checkout}.tar.gz
|
2006-07-19 21:47:39 +00:00
|
|
|
|
2013-06-03 10:37:32 +00:00
|
|
|
Patch1: lockdev-euidaccess.patch
|
2018-07-25 07:25:18 +00:00
|
|
|
Patch2: 0001-major-and-minor-functions-moved-to-sysmacros.h.patch
|
2024-08-21 09:33:47 +00:00
|
|
|
Patch3: free-dl-check-devname-result.patch
|
2013-06-03 10:37:32 +00:00
|
|
|
|
2008-10-06 09:37:43 +00:00
|
|
|
Requires(pre): shadow-utils
|
2006-07-19 21:47:39 +00:00
|
|
|
Requires(post): glibc
|
|
|
|
Requires(postun): glibc
|
2013-11-28 13:41:14 +00:00
|
|
|
Requires: systemd
|
2006-07-19 21:47:39 +00:00
|
|
|
|
2011-10-19 10:11:43 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
2017-07-12 13:20:02 +00:00
|
|
|
BuildRequires: perl-interpreter
|
2007-10-15 14:39:27 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2013-12-21 10:07:26 +00:00
|
|
|
BuildRequires: systemd
|
2021-01-05 03:20:20 +00:00
|
|
|
BuildRequires: make
|
2004-09-09 07:58:08 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Lockdev provides a reliable way to put an exclusive lock to devices
|
2004-09-09 07:58:29 +00:00
|
|
|
using both FSSTND and SVr4 methods.
|
2004-09-09 07:58:20 +00:00
|
|
|
|
2004-09-09 07:59:07 +00:00
|
|
|
%package devel
|
2010-11-25 17:28:23 +00:00
|
|
|
Summary: The header files for the lockdev library
|
2004-09-09 07:59:07 +00:00
|
|
|
Requires: lockdev = %{version}-%{release}
|
2004-09-09 07:58:08 +00:00
|
|
|
|
2004-09-09 07:59:43 +00:00
|
|
|
%description devel
|
2004-09-09 07:58:29 +00:00
|
|
|
The lockdev library provides a reliable way to put an exclusive lock
|
|
|
|
on devices using both FSSTND and SVr4 methods. The lockdev-devel
|
2010-01-21 11:53:07 +00:00
|
|
|
package contains the development headers.
|
|
|
|
|
2004-09-09 07:58:08 +00:00
|
|
|
|
|
|
|
%prep
|
2011-10-19 10:11:43 +00:00
|
|
|
%setup -q -n lockdev-scm-%{co_date}
|
2004-09-09 07:58:08 +00:00
|
|
|
|
2014-09-18 12:39:31 +00:00
|
|
|
# Replace access() calls with euidaccess() (600636#c33)
|
2013-06-03 10:37:32 +00:00
|
|
|
%patch1 -p1 -b .access
|
2018-07-25 07:25:18 +00:00
|
|
|
%patch2 -p1
|
2024-08-21 09:33:47 +00:00
|
|
|
%patch3 -p1 -b .memleak-fix
|
2013-06-03 10:37:32 +00:00
|
|
|
|
2004-09-09 07:58:08 +00:00
|
|
|
%build
|
2011-10-19 10:11:43 +00:00
|
|
|
# Generate version information from git release tag
|
|
|
|
./scripts/git-version > VERSION
|
|
|
|
|
|
|
|
# To satisfy automake
|
|
|
|
touch ChangeLog
|
|
|
|
|
|
|
|
# Bootstrap autotools
|
|
|
|
autoreconf --verbose --force --install
|
|
|
|
|
2013-12-05 11:00:07 +00:00
|
|
|
CFLAGS="%{optflags} -D_PATH_LOCK=\\\"%{_lockdir}\\\"" \
|
|
|
|
%configure --disable-static --enable-helper --disable-silent-rules
|
2011-10-19 10:11:43 +00:00
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
2004-09-09 07:58:08 +00:00
|
|
|
|
|
|
|
%install
|
2011-10-19 10:11:43 +00:00
|
|
|
make install DESTDIR=%{buildroot}
|
2004-09-09 07:58:08 +00:00
|
|
|
|
2013-06-03 10:37:32 +00:00
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
2010-11-25 16:31:41 +00:00
|
|
|
|
2013-11-28 13:41:14 +00:00
|
|
|
# %%ghosted, but needs to be in buildroot
|
2013-07-12 13:34:01 +00:00
|
|
|
# on reboot re-created by %%{_prefix}/lib/tmpfiles.d/legacy.conf
|
2013-06-03 10:37:32 +00:00
|
|
|
mkdir -p %{buildroot}%{_lockdir}
|
2004-09-09 07:58:29 +00:00
|
|
|
|
2016-04-06 10:34:53 +00:00
|
|
|
# install /usr/lib/tmpfiles.d/lockdev.conf (#1324184)
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir}
|
|
|
|
cat > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/lockdev.conf <<EOF
|
|
|
|
# See tmpfiles.d(5) for details
|
|
|
|
|
|
|
|
d %{_lockdir} 0775 root lock -
|
|
|
|
EOF
|
|
|
|
|
2004-09-09 07:58:29 +00:00
|
|
|
%pre
|
2013-08-26 10:55:25 +00:00
|
|
|
getent group lock >/dev/null 2>&1 || groupadd -g 54 -r -f lock >/dev/null 2>&1 || :
|
2004-09-09 07:58:08 +00:00
|
|
|
|
2013-11-28 13:41:14 +00:00
|
|
|
%post
|
|
|
|
if [ $1 -eq 1 ] ; then
|
2013-11-28 13:42:21 +00:00
|
|
|
# for the time until first reboot
|
2019-10-30 21:42:29 +00:00
|
|
|
%tmpfiles_create lockdev.conf
|
2013-11-28 13:41:14 +00:00
|
|
|
fi
|
|
|
|
|
2004-09-09 07:58:08 +00:00
|
|
|
%files
|
2016-04-06 10:34:53 +00:00
|
|
|
%{license} COPYING
|
|
|
|
%doc AUTHORS
|
2013-11-28 13:41:14 +00:00
|
|
|
%ghost %dir %attr(0775,root,lock) %{_lockdir}
|
2009-10-02 15:13:45 +00:00
|
|
|
%attr(2711,root,lock) %{_sbindir}/lockdev
|
2016-04-06 10:34:53 +00:00
|
|
|
%{_tmpfilesdir}/lockdev.conf
|
2004-09-09 07:59:07 +00:00
|
|
|
%{_libdir}/*.so.*
|
2009-09-25 17:01:58 +00:00
|
|
|
%{_mandir}/man8/*
|
2004-09-09 07:58:08 +00:00
|
|
|
|
2004-09-09 07:58:29 +00:00
|
|
|
%files devel
|
2004-09-09 07:59:07 +00:00
|
|
|
%{_libdir}/*.so
|
2011-10-19 10:11:43 +00:00
|
|
|
%{_libdir}/pkgconfig/lockdev.pc
|
2009-09-25 17:01:58 +00:00
|
|
|
%{_mandir}/man3/*
|
2004-09-09 07:58:29 +00:00
|
|
|
%{_includedir}/*
|
2004-09-09 07:58:08 +00:00
|
|
|
|
|
|
|
%changelog
|
2024-10-29 15:46:44 +00:00
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.0.4-0.46.20111007git
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
2024-08-21 09:33:47 +00:00
|
|
|
* Wed Aug 21 2024 Pavol ŽáÄik <pzacik@redhat.com> - 1.0.4-0.45.20111007git
|
|
|
|
- Fix memory leaks found by static analysis
|
|
|
|
- Resolves: RHEL-39379
|
|
|
|
|
2024-06-24 16:00:39 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.0.4-0.44.20111007git
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-05-22 15:47:21 +00:00
|
|
|
* Tue May 21 2024 Pavol ŽáÄik <pzacik@redhat.com> - 1.0.4-0.43.20111007git
|
|
|
|
- Use an SPDX license tag
|
|
|
|
|
2024-01-25 04:35:41 +00:00
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.42.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-21 06:07:58 +00:00
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.41.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-20 12:58:01 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.40.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-19 18:12:52 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.39.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 19:47:37 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.38.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-20 18:00:26 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.37.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-22 13:05:08 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.36.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 18:38:03 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.35.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 06:13:21 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.34.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-29 11:11:38 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.33.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-10-30 21:42:29 +00:00
|
|
|
* Wed Oct 30 2019 Kalev Lember <klember@redhat.com> - 1.0.4-0.32.20111007git
|
|
|
|
- Fix the build with latest rpmbuild (#1736075)
|
|
|
|
|
2019-07-25 15:06:22 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.31.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-03-07 10:22:07 +00:00
|
|
|
* Thu Mar 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.4-0.30.20111007git
|
|
|
|
- Remove obsolete scriptlets
|
|
|
|
|
2019-02-01 08:54:53 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.29.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-25 07:25:18 +00:00
|
|
|
* Wed Jul 25 2018 Sebastian Kisela <skisela@redhat.com> - 1.0.4-0.28.
|
|
|
|
- Explicitly include <sys/sysmacros.h> due to glibc-headers changes.
|
|
|
|
Definition of major and minor macros is no longer transitively included
|
|
|
|
through <sys/types.h>, hence make it explicit.
|
|
|
|
Ref:
|
|
|
|
https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=NEWS;hb=HEAD
|
|
|
|
|
2018-07-13 09:17:44 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.27.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-08 00:04:28 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.26.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 02:42:44 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.25.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 20:15:22 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.24.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 19:55:45 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.23.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-04-06 10:34:53 +00:00
|
|
|
* Wed Apr 06 2016 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.22.20111007git
|
|
|
|
- /run/lock/lockdev no longer created by systemd (#1324184)
|
|
|
|
|
2016-02-04 04:22:46 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.21.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 18:25:27 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-0.20.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-11-03 13:04:15 +00:00
|
|
|
* Mon Nov 03 2014 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.19.20111007git
|
|
|
|
- change _lockdir from /var/lock/lockdev to /run/lock/lockdev
|
|
|
|
|
2014-09-18 12:39:31 +00:00
|
|
|
* Thu Sep 18 2014 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.18.20111007git
|
|
|
|
- better euidaccess.patch from Paolo Bonzini (#600636#c33)
|
|
|
|
|
2014-08-17 07:31:20 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-0.17.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 06:40:41 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-0.16.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-12-21 10:07:26 +00:00
|
|
|
* Sat Dec 21 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.0.4-0.15.20111007git
|
|
|
|
- BuildRequire systemd for %%tmpfiles_create.
|
|
|
|
|
2013-12-05 11:00:07 +00:00
|
|
|
* Thu Dec 05 2013 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.14.20111007git
|
|
|
|
- Define _GNU_SOURCE in lockdev.c
|
|
|
|
|
2013-11-28 13:41:14 +00:00
|
|
|
* Thu Nov 28 2013 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.13.20111007git
|
|
|
|
- revert previous change and use %%tmpfiles_create in %%post
|
|
|
|
|
2013-11-27 18:44:14 +00:00
|
|
|
* Wed Nov 27 2013 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.12.20111007git
|
|
|
|
- do not %%ghost /var/lock/lockdev (https://fedorahosted.org/fesco/ticket/525)
|
|
|
|
|
2013-08-26 13:30:00 +00:00
|
|
|
* Mon Aug 26 2013 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.11.20111007git
|
|
|
|
- Remove the %%post scriptlet completely (#983772)
|
|
|
|
|
2013-08-26 10:55:25 +00:00
|
|
|
* Mon Aug 26 2013 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.10.20111007git
|
|
|
|
- Silence possible %%post scriptlet errors (#983772)
|
|
|
|
|
2013-08-03 07:58:07 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-0.9.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-12 13:34:01 +00:00
|
|
|
* Fri Jul 12 2013 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.8.20111007git
|
|
|
|
- %%{_lockdir} is %%ghost-ed (#983772)
|
|
|
|
|
2013-06-03 10:37:32 +00:00
|
|
|
* Mon Jun 03 2013 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.7.20111007git
|
|
|
|
- Replace access() calls with euidaccess(), build with -D_GNU_SOURCE (600636#c9)
|
|
|
|
|
2013-02-14 05:46:08 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-0.6.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-19 22:03:19 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-0.5.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-13 08:50:32 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-0.4.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-10-20 12:48:59 +00:00
|
|
|
* Thu Oct 20 2011 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.3.20111007git
|
|
|
|
- Define _hardened_build
|
|
|
|
|
2011-10-19 10:56:22 +00:00
|
|
|
* Wed Oct 19 2011 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.2.20111007git
|
|
|
|
- Fixed URL
|
|
|
|
- Removed unused patches
|
|
|
|
|
2011-10-19 10:11:43 +00:00
|
|
|
* Fri Oct 07 2011 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.1.20111007git
|
|
|
|
- pre 1.0.4 nightly snapshot
|
|
|
|
|
2011-04-04 16:06:35 +00:00
|
|
|
* Mon Apr 04 2011 Jiri Popelka <jpopelka@redhat.com> - 1.0.3-10
|
|
|
|
- Revert previous change (#681898)
|
2011-04-04 16:08:05 +00:00
|
|
|
- /etc/tmpfiles.d/lockdev.conf moved into systemd upstream (#692714)
|
2011-04-04 16:06:35 +00:00
|
|
|
|
2011-03-03 15:01:45 +00:00
|
|
|
* Thu Mar 03 2011 Jan Görig <jgorig@redhat.com> - 1.0.3-9
|
|
|
|
- Change /var/lock/lockdev permissions to 1777 (#681898)
|
|
|
|
|
2011-02-08 13:29:05 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-11-25 17:28:23 +00:00
|
|
|
* Thu Nov 25 2010 Jiri Popelka <jpopelka@redhat.com> - 1.0.3-7
|
|
|
|
- Fixed some rpmlint warnings
|
|
|
|
|
|
|
|
* Thu Nov 25 2010 Jiri Popelka <jpopelka@redhat.com> - 1.0.3-6
|
|
|
|
- Added /etc/tmpfiles.d/lockdev.conf to enable lock directory on tmpfs (#656614)
|
|
|
|
- Don't ship static library at all
|
2010-11-25 16:31:41 +00:00
|
|
|
|
2010-04-19 15:33:16 +00:00
|
|
|
* Mon Apr 19 2010 Jiri Popelka <jpopelka@redhat.com> - 1.0.3-5
|
2010-11-25 17:28:23 +00:00
|
|
|
- Changed directory for lock files from /var/lock to /var/lock/lockdev (#581884)
|
2010-04-19 15:33:16 +00:00
|
|
|
|
2010-01-21 11:53:07 +00:00
|
|
|
* Thu Jan 21 2010 Jiri Popelka <jpopelka@redhat.com> - 1.0.3-4
|
2010-11-25 17:28:23 +00:00
|
|
|
- Created -static subpackage to ship static library separately
|
|
|
|
- Updated lockdev.8 manpage
|
2010-01-21 11:53:07 +00:00
|
|
|
|
2009-12-10 16:21:53 +00:00
|
|
|
* Thu Dec 10 2009 Jiri Popelka <jpopelka@redhat.com> - 1.0.3-3
|
|
|
|
- Correct rh.patch
|
|
|
|
|
2009-12-10 08:02:19 +00:00
|
|
|
* Thu Dec 10 2009 Jiri Popelka <jpopelka@redhat.com> - 1.0.3-2
|
|
|
|
- Correct rh.patch
|
|
|
|
|
2009-12-07 09:28:58 +00:00
|
|
|
* Mon Dec 07 2009 Jiri Popelka <jpopelka@redhat.com> - 1.0.3-1
|
|
|
|
- 1.0.3. No longer need 1.0.0-signal, 1.0.1-subdir, 1.0.1-fcntl, 1.0.1-32bit patches.
|
|
|
|
- Renumbered patches and sources.
|
|
|
|
|
2009-12-03 07:44:55 +00:00
|
|
|
* Thu Dec 03 2009 Jiri Popelka <jpopelka@redhat.com> - 1.0.1-20
|
|
|
|
- Fixed pre section (http://fedoraproject.org/wiki/Packaging/UsersAndGroups)
|
|
|
|
- Added back Buildroot to silence rpmlint's false positive
|
|
|
|
|
2009-12-01 15:18:49 +00:00
|
|
|
* Tue Dec 01 2009 Jiri Popelka <jpopelka@redhat.com> - 1.0.1-19
|
|
|
|
- Added license text to package
|
|
|
|
|
2009-10-02 15:13:45 +00:00
|
|
|
* Fri Oct 02 2009 Jiri Popelka <jpopelka@redhat.com> - 1.0.1-18
|
|
|
|
- Fixed mixed-use-of-spaces-and-tabs
|
|
|
|
|
|
|
|
* Fri Oct 02 2009 Jiri Popelka <jpopelka@redhat.com> - 1.0.1-17
|
2009-10-02 14:47:46 +00:00
|
|
|
- Removed PreReq tag
|
|
|
|
|
2009-09-25 17:01:58 +00:00
|
|
|
* Fri Sep 25 2009 Jiri Popelka <jpopelka@redhat.com> - 1.0.1-16
|
|
|
|
- Manual page for /usr/sbin/lockdev
|
|
|
|
|
2009-07-25 11:13:12 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 20:47:33 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-10-06 09:37:43 +00:00
|
|
|
* Mon Oct 6 2008 Karel Zak <kzak@redhat.com> - 1.0.1-13
|
|
|
|
- refresh patches (due --fuzz=0)
|
|
|
|
- fix compiler warnings
|
|
|
|
|
2008-02-19 10:34:12 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.1-12.1
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-10-15 14:39:27 +00:00
|
|
|
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.1-11.1
|
|
|
|
- correct license tag
|
|
|
|
- add BR: perl(ExtUtils::MakeMaker)
|
|
|
|
|
2007-04-12 20:52:23 +00:00
|
|
|
* Thu Apr 12 2007 Karel Zak <kzak@redhat.com> - 1.0.1-11
|
|
|
|
- fix rpmlint issues
|
|
|
|
- change lockdev permissions from 2755 to 2711
|
|
|
|
|
2006-07-19 21:47:39 +00:00
|
|
|
* Wed Jul 19 2006 Karel Zak <kzak@redhat.com> - 1.0.1-10
|
|
|
|
- rebuild
|
|
|
|
|
2006-07-12 07:14:19 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-9.2.2
|
|
|
|
- rebuild
|
|
|
|
|
2006-02-11 04:24:58 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-9.2.1
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 12:52:47 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-9.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:41:48 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-09-21 10:36:10 +00:00
|
|
|
* Wed Sep 21 2005 Karel Zak <kzak@redhat.com> 1.0.1-9
|
|
|
|
- fix #165189 - The naming of the lock file by the lockdev command is abnormal.
|
|
|
|
|
2005-09-01 14:52:45 +00:00
|
|
|
* Thu Sep 1 2005 Karel Zak <kzak@redhat.com> 1.0.1-8
|
|
|
|
- fix #163276 - baudboy.h should include fcntl.h
|
|
|
|
|
2005-03-05 11:49:15 +00:00
|
|
|
* Sat Mar 5 2005 Karel Zak <kzak@redhat.com> 1.0.1-6
|
|
|
|
- rebuilt
|
|
|
|
|
2005-02-23 12:21:13 +00:00
|
|
|
* Wed Feb 23 2005 Karel Zak <kzak@redhat.com> 1.0.1-5
|
|
|
|
- lockdev errs on /dev/input/ttyACM0 (3-component pathname) (#126082, #98160, #74454)
|
|
|
|
|
2004-10-22 16:33:51 +00:00
|
|
|
* Fri Oct 22 2004 Adrian Havill <havill@redhat.com> 1.0.1-4
|
|
|
|
- don't unlock files if pid still exists (#128104)
|
|
|
|
|
2004-09-09 08:02:15 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 08:01:31 +00:00
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 08:00:28 +00:00
|
|
|
* Tue Sep 9 2003 Nalin Dahyabhai <nalin@redhat.com> 1.0.1-1.3
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Mon Sep 8 2003 Nalin Dahyabhai <nalin@redhat.com> 1.0.1-1.2
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Wed Aug 20 2003 Adrian Havill <havill@redhat.com> 1.0.1-1.1
|
|
|
|
- bump n-v-r for 3.0E
|
|
|
|
|
|
|
|
* Fri Aug 15 2003 Adrian Havill <havill@redhat.com> 1.0.1-1
|
|
|
|
- bumped version
|
|
|
|
- make the dev rewrite work with ttys in the /dev/input subdir, not just
|
|
|
|
the base level dir (#98160)
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 08:00:01 +00:00
|
|
|
* Tue Feb 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- add symlink to shared lib
|
|
|
|
|
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Nov 29 2002 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- don't segfault if device arg is missing.
|
|
|
|
|
2004-09-09 07:59:46 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 07:59:43 +00:00
|
|
|
* Wed Jun 5 2002 Jeff Johnson <jbj@redhat.com> 1.0.0-19
|
|
|
|
- fix: don't ignore signals, use default behavior instead (#63468).
|
|
|
|
|
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 07:59:07 +00:00
|
|
|
* Mon Feb 25 2002 Nalin Dahyabhai <nalin@redhat.com> 1.0.0-16
|
|
|
|
- include liblockdev.so so that programs can link to a shared liblockdev
|
|
|
|
- fix shared library version numbers
|
|
|
|
|
2004-09-09 07:59:43 +00:00
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2005-09-21 10:36:10 +00:00
|
|
|
* Thu Nov 29 2001 Trond Eivind Glomsrod <teg@redhat.com> 1.0.0-16
|
2004-09-09 07:59:43 +00:00
|
|
|
- Rebuilt
|
|
|
|
|
2005-09-21 10:36:10 +00:00
|
|
|
* Fri Oct 26 2001 Trond Eivind Glomsrod <teg@redhat.com> 1.0.0-15
|
2004-09-09 07:58:46 +00:00
|
|
|
- Add copyright/license info to baudboy.h (#54321)
|
|
|
|
|
2004-09-09 07:58:35 +00:00
|
|
|
* Tue Sep 4 2001 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- swap egid and gid for lockdev's access(2) device check (#52029).
|
|
|
|
|
|
|
|
* Tue Aug 28 2001 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- typo in include file (#52704).
|
|
|
|
- map specific errno's into status for return from helper.
|
|
|
|
|
2004-09-09 07:58:33 +00:00
|
|
|
* Tue Aug 14 2001 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- set exit status correctly.
|
|
|
|
|
2004-09-09 07:58:29 +00:00
|
|
|
* Thu Aug 9 2001 Bill Nottingham <notting@redhat.com>
|
|
|
|
- check that we can open the device r/w before locking
|
|
|
|
- fix calling lockdev without any arguments
|
|
|
|
- fix waitpid() call in baudboy.h
|
|
|
|
- use umask(002), not umask(0)
|
|
|
|
|
|
|
|
* Wed Aug 8 2001 Bill Nottingham <notting@redhat.com>
|
|
|
|
- add lock group here, own /var/lock as well
|
|
|
|
|
|
|
|
* Sun Aug 5 2001 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- include setgid helper binary and baudboy.h.
|
|
|
|
|
2005-09-21 10:36:10 +00:00
|
|
|
* Mon Jun 18 2001 Trond Eivind Glomsrod <teg@redhat.com>
|
2004-09-09 07:58:29 +00:00
|
|
|
- Make the -devel depend on the main package
|
|
|
|
|
2005-09-21 10:36:10 +00:00
|
|
|
* Sun Aug 06 2000 Trond Eivind Glomsrod <teg@redhat.com>
|
2004-09-09 07:58:08 +00:00
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- add %%defattr for -devel
|
|
|
|
|
2005-09-21 10:36:10 +00:00
|
|
|
* Sat Jun 10 2000 Trond Eivind Glomsrod <teg@redhat.com>
|
2004-09-09 07:58:08 +00:00
|
|
|
- use %%{_mandir}
|
|
|
|
|
2005-09-21 10:36:10 +00:00
|
|
|
* Thu May 04 2000 Trond Eivind Glomsrod <teg@redhat.com>
|
2004-09-09 07:58:08 +00:00
|
|
|
- first build
|