Compare commits

..

No commits in common. "c8s" and "c9-beta" have entirely different histories.
c8s ... c9-beta

7 changed files with 35 additions and 53 deletions

1
.gitignore vendored
View File

@ -1,2 +1 @@
SOURCES/lockdev-1.0.4.20111007git.tar.gz
/lockdev-1.0.4.20111007git.tar.gz

1
.lockdev.metadata Normal file
View File

@ -0,0 +1 @@
799423f74018a0fc9742b2d915d8a226b377fff4 SOURCES/lockdev-1.0.4.20111007git.tar.gz

View File

@ -1,36 +0,0 @@
From 1cc25ae8129e399ed76f1ef85be1b7f53f61bc51 Mon Sep 17 00:00:00 2001
From: Sebastian Kisela <skisela@redhat.com>
Date: Mon, 6 Aug 2018 17:06:35 +0200
Subject: [PATCH] Fix manpages NAME section
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
According to lexgrog manpage:
"Some manual pagers require the \- to be exactly as shown;
mandb is more tolerant, but for compatibility with other systems
it is nevertheless a good idea to retain the backslash."
Fix the wording to make the man page check pass.
Fixes: #1612764
---
docs/lockdev.8 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/lockdev.8 b/docs/lockdev.8
index a7c117f..8739211 100644
--- a/docs/lockdev.8
+++ b/docs/lockdev.8
@@ -4,7 +4,7 @@
.\" Man page written by Jiri Popelka <jpopelka AT redhat DOT com>
.\"
.SH NAME
-\fBLockdev\fR is a setgid binary,
+\fBLockdev\fR \- a setgid binary,
which provides a reliable way to put an exclusive lock
in /var/lock to devices (e.g. ttyS0) using both FSSTND and SVr4 methods,
so regular users don't need write access there.
--
2.14.4

View File

@ -10,9 +10,8 @@
Summary: A library for locking devices
Name: lockdev
Version: 1.0.4
Release: 0.28.%{checkout}%{?dist}
Release: 0.37.%{checkout}%{?dist}
License: LGPLv2
Group: System Environment/Libraries
URL: https://alioth.debian.org/projects/lockdev/
# This is a nightly snapshot downloaded via
@ -21,7 +20,6 @@ Source0: lockdev-%{version}.%{checkout}.tar.gz
Patch1: lockdev-euidaccess.patch
Patch2: 0001-major-and-minor-functions-moved-to-sysmacros.h.patch
Patch3: 0001-Fix-manpages-NAME-section.patch
Requires(pre): shadow-utils
Requires(post): glibc
@ -34,6 +32,7 @@ BuildRequires: libtool
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: systemd
BuildRequires: make
%description
Lockdev provides a reliable way to put an exclusive lock to devices
@ -41,7 +40,6 @@ using both FSSTND and SVr4 methods.
%package devel
Summary: The header files for the lockdev library
Group: System Environment/Libraries
Requires: lockdev = %{version}-%{release}
%description devel
@ -56,7 +54,6 @@ package contains the development headers.
# Replace access() calls with euidaccess() (600636#c33)
%patch1 -p1 -b .access
%patch2 -p1
%patch3 -p1
%build
# 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 || :
%post
/sbin/ldconfig
if [ $1 -eq 1 ] ; then
# for the time until first reboot
%tmpfiles_create
%tmpfiles_create lockdev.conf
fi
%postun -p /sbin/ldconfig
%files
%{license} COPYING
%doc AUTHORS
@ -119,18 +112,44 @@ fi
%{_includedir}/*
%changelog
* Mon Aug 06 2018 Sebastian Kisela <skisela@redhat.com> - 1.0.4-0.28.
- Fix man page wording to pass errors detected by lexgrog.
Fixes: 1612764
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.4-0.37.20111007git
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* 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
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.4-0.36.20111007git
- 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.
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
* 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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +0,0 @@
SHA512 (lockdev-1.0.4.20111007git.tar.gz) = 19741a22aae5ff54b94815e7bb5c94e32a99c14a916451e385c6b795b4adb3041708aa5c9bbcffa889a6370d469602b2d34534a73d57af9701b64258690408e3