cleanup tweaks

This commit is contained in:
YellowJacketLinux 2023-04-16 16:34:13 -07:00
parent 25da03c773
commit 080accf5f3
3 changed files with 73 additions and 61 deletions

View File

@ -1,17 +1,17 @@
Name: cracklib
Version: 2.9.8
Release: %{?repo}0.rc4%{?dist}
Summary: A library to somewhat prevent easily crackable passwords
Name: cracklib
Version: 2.9.8
Release: %{?repo}0.rc5%{?dist}
Summary: A library to somewhat prevent easily crackable passwords
Group: System Environment/Libraries
License: LGPLv2.1
URL: https://github.com/cracklib/cracklib
Source0: https://github.com/cracklib/cracklib/releases/download/v%{version}/%{name}-%{version}.tar.bz2
Source1: https://github.com/cracklib/cracklib/releases/download/v%{version}/%{name}-words-%{version}.bz2
Group: System Environment/Libraries
License: LGPLv2.1
URL: https://github.com/cracklib/cracklib
Source0: https://github.com/cracklib/cracklib/releases/download/v%{version}/%{name}-%{version}.tar.bz2
Source1: https://github.com/cracklib/cracklib/releases/download/v%{version}/%{name}-words-%{version}.bz2
Requires: %{name}-common = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: autoconf
Requires: %{name}-common = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: autoconf
%description
CrackLib is a library containing a C function (well, lots of functions
@ -22,42 +22,42 @@ The idea is simple: try to prevent users from choosing passwords that
could be guessed by "Crack" by filtering them out, at source.
%package utilities
Summary: Cracklib utilities
Group: System Environment/Utilities
Requires: %{name} = %{version}-%{release}
Requires: %{name}-common = %{version}-%{release}
Summary: Cracklib utilities
Group: System Environment/Utilities
Requires: %{name} = %{version}-%{release}
Requires: %{name}-common = %{version}-%{release}
%description utilities
This package includes the cracklib utilities
%package common
Summary: Cracklib common data files
Group: System Environment/Data
BuildArch: noarch
Requires(post): %{name}-utilities = %{version}-%{release}
Summary: Cracklib common data files
Group: System Environment/Data
BuildArch: noarch
Requires(post): %{name}-utilities = %{version}-%{release}
%description common
This package has the common architecture independent files used by
cracklib.
%package devel
Summary: Developer files for cracklib
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Summary: Developer files for cracklib
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
This package contains the header files needed to compile software that
links against the libcrack library.
%package -n python3-cracklib
Summary: Python bindings for cracklib
Group: Python/Libraries
Requires: %{name} = %{version}-%{release}
Summary: Python bindings for cracklib
Group: Python/Libraries
Requires: %{name} = %{version}-%{release}
%if %{?python3_ABI:1}%{!?python3_ABI:0}
# Non-Standard Macro
Requires: %{python3_ABI}
Requires: %{python3_ABI}
%else
Requires: %{python3_sitearch}
Requires: %{python3_sitearch}
%endif
%description -n python3-cracklib
@ -157,6 +157,9 @@ fi
%changelog
* Sun Apr 16 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.9.8-0.rc5
- Tabs to spaces, rebuild in newly packaged gcc
* Thu Apr 06 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.9.8-0.rc4
- Properly split off utilities and common subpackages

View File

@ -1,32 +1,32 @@
Name: libcap
Name: libcap
# NOTE - 2.68 is out, 03/28/2023
Version: 2.67
Release: %{?repo}0.rc1%{?dist}
Summary: POSIX.1e implenentation library
Version: 2.67
Release: %{?repo}0.rc5%{?dist}
Summary: POSIX.1e implenentation library
Group: System Environment/Libraries
License: BSD 3-clause and GPLv2
URL: https://sites.google.com/site/fullycapable/
Source0: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/%{name}-%{version}.tar.xz
Group: System Environment/Libraries
License: BSD 3-clause and GPLv2
URL: https://sites.google.com/site/fullycapable/
Source0: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/%{name}-%{version}.tar.xz
BuildRequires: libattr-devel
BuildRequires: libattr-devel
%description
Libcap is a library for getting and setting POSIX.1e (formerly POSIX 6)
draft 15 capabilities.
%package utilities
Group: System Administration/Utilities
Summary: libcap utilities
Requires: %{name} = %{version}-%{release}
Group: System Administration/Utilities
Summary: libcap utilities
Requires: %{name} = %{version}-%{release}
%description utilities
%description utils
This package includes the libcap system administration utilities.
%package devel
Group: Development/Libraries
Summary: Development files for libcap
Requires: %{name} = %{version}-%{release}
Group: Development/Libraries
Summary: Development files for libcap
Requires: %{name} = %{version}-%{release}
%description devel
This package includes the developer files needed to compile software
@ -35,7 +35,6 @@ that links against the libcap libraries.
%prep
%setup -q
%build
sed -i '/install -m.*STA/d' libcap/Makefile
make %{?_smp_mflags} prefix=%{_prefix} lib=%{_lib}
@ -58,7 +57,7 @@ make prefix=%{_prefix} lib=%{_lib} DESTDIR=%{buildroot} install
%license License
%doc README License %{name}-make.test.log
%files utilities
%files utils
%defattr(-,root,root,-)
%attr(0755,root,root) %{_sbindir}/capsh
%attr(0755,root,root) %{_sbindir}/getcap
@ -80,7 +79,11 @@ make prefix=%{_prefix} lib=%{_lib} DESTDIR=%{buildroot} install
%attr(0644,root,root) %{_libdir}/pkgconfig/libcap.pc
%attr(0644,root,root) %{_libdir}/pkgconfig/libpsx.pc
%attr(0644,root,root) %{_mandir}/man3/*.3*
%license License
%changelog
* Sun Apr 16 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.67-0.rc5
- Fix utils package name, tabs to spaces
* Thu Apr 06 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.67-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)

View File

@ -1,15 +1,15 @@
Name: shadow
Version: 4.13
Release: %{?repo}0.rc1%{?dist}
Summary: Obfuscate user passwords hashes
Name: shadow
Version: 4.13
Release: %{?repo}0.rc2%{?dist}
Summary: Obfuscate user passwords hashes
Group: System Environment/Security
License: BSD-3-Claus
URL: https://github.com/shadow-maint/shadow
Source0: https://github.com/shadow-maint/shadow/releases/download/%{version}/%{name}-%{version}.tar.xz
Group: System Environment/Security
License: BSD-3-Claus
URL: https://github.com/shadow-maint/shadow
Source0: https://github.com/shadow-maint/shadow/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: cracklib-devel
Requires: libsubid = %{version}-%{release}
BuildRequires: cracklib-devel
Requires: libsubid = %{version}-%{release}
%description
Originally, the file /etc/passwd contained both the hashed password of
@ -21,16 +21,16 @@ out of that file and into a separate /etc/shadow file that is not
publicly readable, increasing the security of the hashed passwords.
%package -n libsubid
Summary: Shared library from the shadow program
Group: System Environment/Libraries
Summary: Shared library from the shadow program
Group: System Environment/Libraries
%description -n libsubid
The libsubid shared library from the shadow package.
%package -n libsubid-devel
Summary: Developer files for libsubid
Group: Development/Libraries
Requires: libsubid = %{version}-%{release}
Summary: Developer files for libsubid
Group: Development/Libraries
Requires: libsubid = %{version}-%{release}
%description -n libsubid-devel
This package contains the header files needed to compile software that
@ -112,6 +112,7 @@ mv %{buildroot}%{_bindir}/su %{buildroot}/bin/
%{_libdir}/libsubid.so.4
%attr(0755,root,root) %{_libdir}/libsubid.so.4.0.0
%license COPYING
%doc COPYING
%files -n libsubid-devel
%defattr(-,root,root,-)
@ -119,8 +120,13 @@ mv %{buildroot}%{_bindir}/su %{buildroot}/bin/
%attr(0644,root,root) %{_includedir}/shadow/subid.h
%{_libdir}/libsubid.so
%attr(0644,root,root) %{_mandir}/man3/shadow.3*
%license COPYING
%doc COPYING
%changelog
* Sun Apr 16 2023 Michael A. Peters <anymouseprophet@gmail.com> - 4.13-0.rc2
- tabs to spaces, rebuild in freshly built GCC package
* Thu Mar 23 2023 Michael A. Peters <anymouseprophet@gmail.com> - 4.13-0.rc1
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)