public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/afpfs-ng] epel10: Attempt at saner SPEC file formatting
@ 2026-11-06 15:36 Lubomir Rintel
0 siblings, 0 replies; only message in thread
From: Lubomir Rintel @ 2026-11-06 15:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/afpfs-ng
Branch : epel10
Commit : 106289b4b183e8a26c2aaa6a2cfddff8cd71b901
Author : Lubomir Rintel <lkundrak@v3.sk>
Date : 2013-10-24T11:39:53+02:00
Stats : +7/-13 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/afpfs-ng/c/106289b4b183e8a26c2aaa6a2cfddff8cd71b901?branch=epel10
Log:
Attempt at saner SPEC file formatting
I'm doing this semi-automatically across all packages I maintain, since some
are several years old and since then several have suffered bit-rot and such.
I'm fixing up the following:
- Old RPM relics (such as %defattr, BuildRoot or %clean sections)
- Whitespace errors (such as trailing spaces)
- Consistent use of %{buildroot}
- Dropping useless %{name} expansions that harm legibility
- Consistent spacing between RPM sections
- Bad days in %changelogs
---
diff --git a/afpfs-ng.spec b/afpfs-ng.spec
index 3bdd838..c59a17e 100644
--- a/afpfs-ng.spec
+++ b/afpfs-ng.spec
@@ -5,7 +5,7 @@
Name: afpfs-ng
Version: 0.8.1
-Release: 12%{?dist}.3
+Release: 13%{?dist}.3
Summary: Apple Filing Protocol client
Group: System Environment/Base
@@ -14,7 +14,6 @@ URL: http://alexthepuffin.googlepages.com/home
Source0: http://downloads.sourceforge.net/afpfs-ng/%{name}-%{version}.tar.bz2
Patch0: afpfs-ng-0.8.1-overflows.patch
Patch1: afpfs-ng-0.8.1-pointer.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%{?!_without_fuse:BuildRequires: fuse-devel}
BuildRequires: libgcrypt-devel gmp-devel readline-devel
@@ -64,18 +63,12 @@ make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_includedir}/afpfs-ng
-cp -p include/* $RPM_BUILD_ROOT%{_includedir}/afpfs-ng
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=%{buildroot}
+install -d %{buildroot}%{_includedir}/afpfs-ng
+cp -p include/* %{buildroot}%{_includedir}/afpfs-ng
%files
-%defattr(-,root,root,-)
%{_bindir}/afpcmd
%{_bindir}/afpgetstatus
%{_mandir}/man1/afpcmd.1*
@@ -87,7 +80,6 @@ rm -rf $RPM_BUILD_ROOT
%if %{?!_without_fuse:1}0
%files -n fuse-afp
-%defattr(-,root,root,-)
%{_bindir}/afp_client
%{_bindir}/afpfs
%{_bindir}/afpfsd
@@ -100,7 +92,6 @@ rm -rf $RPM_BUILD_ROOT
%files devel
-%defattr(-,root,root,-)
%{_includedir}/afpfs-ng
%{_libdir}/*.so
@@ -112,6 +103,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Oct 24 2013 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-13.3
+- Bulk sad and useless attempt at consistent SPEC file formatting
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-12.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-06 15:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 15:36 [rpms/afpfs-ng] epel10: Attempt at saner SPEC file formatting Lubomir Rintel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox