Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPM specfile cleanup #246

Merged
merged 34 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
bede8ed
Drop deprecated Group: tag
xavierba Oct 16, 2023
b5e8086
Drop deprecated Buildroot tag
xavierba Oct 16, 2023
b1261ce
Drop deprecated clean of buildroot in %%install
xavierba Oct 16, 2023
cd490ba
Drop deprecated clean of buildroot in %%clean
xavierba Oct 16, 2023
17d5962
Drop %%defattr from top of %%files, this is the default
xavierba Oct 16, 2023
bfa6866
Update License: tag to SPDX and distribute the license file
xavierba Oct 16, 2023
329f663
Drop useless lsc_name and lsc_version variables
xavierba Oct 16, 2023
ce02058
Use full URL for Source: tag
xavierba Oct 16, 2023
a9210dd
Use macros instead of straight paths
xavierba Oct 16, 2023
ecc8123
Own /var/lib/lsc
xavierba Oct 16, 2023
e47abca
Add white lines between changelog entries for legibility
xavierba Oct 16, 2023
a73f0e5
User creation belongs to %%pre, not %%post
xavierba Oct 16, 2023
9482100
Properly own conf dirs and files
xavierba Oct 16, 2023
7b7bc36
One must never delete an user/group to prevent possible uid/gid re-use
xavierba Oct 16, 2023
d6f204e
Make use of %%doc
xavierba Oct 17, 2023
aa3f94d
Set logdir ownership in %%files, not in %%post
xavierba Oct 17, 2023
05a4036
Quieten %%setup. Also -n %%name-%%version is the default, drop it
xavierba Oct 17, 2023
42bbda9
Re-order preamble
xavierba Oct 18, 2023
46065e8
Factorize conf variables substitution
xavierba Oct 18, 2023
83b66d9
Split long lines
xavierba Oct 18, 2023
8b7f8b5
Replace spurious tabs by spaces
xavierba Oct 18, 2023
68c08e6
Install manpages
xavierba Oct 18, 2023
7a031bd
Add missing Requires: crontabs
xavierba Oct 18, 2023
e1983a7
Move nagios checks to their own subpackage
xavierba Oct 19, 2023
9a4b6dc
Tune lsc user
xavierba Oct 19, 2023
42cb7bc
Fix various pid files location
xavierba Oct 19, 2023
3d4dbe3
Drop superfluous comments
xavierba Oct 19, 2023
a04104d
Replace %%define with %%global
xavierba Oct 19, 2023
5532434
Drop symlink hack in %%_docdir
xavierba Oct 19, 2023
604523d
Add html docs and README.md to %%doc
xavierba Oct 19, 2023
9941350
Drop windows .bat files in %%prep to prevent spurious installation
xavierba Oct 19, 2023
b22f3f1
Allow to build from snapshot
xavierba Oct 26, 2023
420ada2
Drop lsc_user and lsc_group variables
xavierba Nov 6, 2023
3def7ef
Rename lsc-core.spec to lsc.spec
xavierba Jan 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions BUILD.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tar.gz and .zip files available in target/ directory
RPM
===

Copy lsc-VERSION.zip in SOURCES/ and lsc-core.spec in SPECS/ and run:
Copy lsc-VERSION.zip in SOURCES/ and lsc.spec in SPECS/ and run:

$ rpmbuild -ba SPECS/lsc-core.spec
$ rpmbuild -ba SPECS/lsc.spec

DEBIAN
======
Expand Down
223 changes: 0 additions & 223 deletions src/install/lsc-core.spec

This file was deleted.

Loading
Loading