Compare commits

...

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

7 changed files with 53 additions and 35 deletions

1
.gitignore vendored
View File

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

View File

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

View File

@ -0,0 +1,36 @@
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,8 +10,9 @@
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.37.%{checkout}%{?dist} Release: 0.28.%{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
@ -20,6 +21,7 @@ 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
@ -32,7 +34,6 @@ 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
@ -40,6 +41,7 @@ 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
@ -54,6 +56,7 @@ 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
@ -91,11 +94,15 @@ 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 lockdev.conf %tmpfiles_create
fi fi
%postun -p /sbin/ldconfig
%files %files
%{license} COPYING %{license} COPYING
%doc AUTHORS %doc AUTHORS
@ -112,44 +119,18 @@ fi
%{_includedir}/* %{_includedir}/*
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.4-0.37.20111007git * Mon Aug 06 2018 Sebastian Kisela <skisela@redhat.com> - 1.0.4-0.28.
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Fix man page wording to pass errors detected by lexgrog.
Related: rhbz#1991688 Fixes: 1612764
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.4-0.36.20111007git * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.27.20111007git
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* 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

1
sources Normal file
View File

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