|
|
@ -10,9 +10,8 @@
|
|
|
|
Summary: A library for locking devices
|
|
|
|
Summary: A library for locking devices
|
|
|
|
Name: lockdev
|
|
|
|
Name: lockdev
|
|
|
|
Version: 1.0.4
|
|
|
|
Version: 1.0.4
|
|
|
|
Release: 0.28.%{checkout}%{?dist}
|
|
|
|
Release: 0.37.%{checkout}%{?dist}
|
|
|
|
License: LGPLv2
|
|
|
|
License: LGPLv2
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
URL: https://alioth.debian.org/projects/lockdev/
|
|
|
|
URL: https://alioth.debian.org/projects/lockdev/
|
|
|
|
|
|
|
|
|
|
|
|
# This is a nightly snapshot downloaded via
|
|
|
|
# This is a nightly snapshot downloaded via
|
|
|
@ -21,7 +20,6 @@ Source0: lockdev-%{version}.%{checkout}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
Patch1: lockdev-euidaccess.patch
|
|
|
|
Patch1: lockdev-euidaccess.patch
|
|
|
|
Patch2: 0001-major-and-minor-functions-moved-to-sysmacros.h.patch
|
|
|
|
Patch2: 0001-major-and-minor-functions-moved-to-sysmacros.h.patch
|
|
|
|
Patch3: 0001-Fix-manpages-NAME-section.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
Requires(post): glibc
|
|
|
|
Requires(post): glibc
|
|
|
@ -34,6 +32,7 @@ BuildRequires: libtool
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: systemd
|
|
|
|
BuildRequires: systemd
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Lockdev provides a reliable way to put an exclusive lock to devices
|
|
|
|
Lockdev provides a reliable way to put an exclusive lock to devices
|
|
|
@ -41,7 +40,6 @@ using both FSSTND and SVr4 methods.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: The header files for the lockdev library
|
|
|
|
Summary: The header files for the lockdev library
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
Requires: lockdev = %{version}-%{release}
|
|
|
|
Requires: lockdev = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
@ -56,7 +54,6 @@ package contains the development headers.
|
|
|
|
# Replace access() calls with euidaccess() (600636#c33)
|
|
|
|
# Replace access() calls with euidaccess() (600636#c33)
|
|
|
|
%patch1 -p1 -b .access
|
|
|
|
%patch1 -p1 -b .access
|
|
|
|
%patch2 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
# Generate version information from git release tag
|
|
|
|
# Generate version information from git release tag
|
|
|
@ -94,15 +91,11 @@ EOF
|
|
|
|
getent group lock >/dev/null 2>&1 || groupadd -g 54 -r -f lock >/dev/null 2>&1 || :
|
|
|
|
getent group lock >/dev/null 2>&1 || groupadd -g 54 -r -f lock >/dev/null 2>&1 || :
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
if [ $1 -eq 1 ] ; then
|
|
|
|
if [ $1 -eq 1 ] ; then
|
|
|
|
# for the time until first reboot
|
|
|
|
# for the time until first reboot
|
|
|
|
%tmpfiles_create
|
|
|
|
%tmpfiles_create lockdev.conf
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%{license} COPYING
|
|
|
|
%{license} COPYING
|
|
|
|
%doc AUTHORS
|
|
|
|
%doc AUTHORS
|
|
|
@ -119,18 +112,44 @@ fi
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_includedir}/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 06 2018 Sebastian Kisela <skisela@redhat.com> - 1.0.4-0.28.
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.4-0.37.20111007git
|
|
|
|
- Fix man page wording to pass errors detected by lexgrog.
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
Fixes: 1612764
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.27.20111007git
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.4-0.36.20111007git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Oct 30 2019 Kalev Lember <klember@redhat.com> - 1.0.4-0.32.20111007git
|
|
|
|
|
|
|
|
- Fix the build with latest rpmbuild (#1736075)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.4-0.30.20111007git
|
|
|
|
|
|
|
|
- Remove obsolete scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 25 2018 Sebastian Kisela <skisela@redhat.com> - 1.0.4-0.28.
|
|
|
|
- Explicitly include <sys/sysmacros.h> due to glibc-headers changes.
|
|
|
|
- Explicitly include <sys/sysmacros.h> due to glibc-headers changes.
|
|
|
|
Definition of major and minor macros is no longer transitively included
|
|
|
|
Definition of major and minor macros is no longer transitively included
|
|
|
|
through <sys/types.h>, hence make it explicit.
|
|
|
|
through <sys/types.h>, hence make it explicit.
|
|
|
|
Ref:
|
|
|
|
Ref:
|
|
|
|
https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=NEWS;hb=HEAD
|
|
|
|
https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=NEWS;hb=HEAD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.26.20111007git
|
|
|
|
* 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
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|