Commit Graph

9 Commits

Author SHA1 Message Date
6c89e107d8
Spec file cleanup
- Run spec-cleaner
- Set prefix and correct installation directories
  (mandir needs share/ subdirectory for packaged installations,
  sysconfdir needs to be /etc as AppArmor does not support /usr/etc)
- Exclude unneeded AppArmor files if built without AppArmor support
- Add group to make rpmlint happy
- Build as noarch as binary is interpreted language

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-08-29 04:26:29 +02:00
9a9fb85fd9
Remove pod2man requirement from RPM
Included in base Perl package.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-08-29 04:16:42 +02:00
f3569152e8
Include AppArmor profile in RPM
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-08-29 04:16:31 +02:00
113e33727d
Align DESTDIR
Use for all installations (which tend to have a build root
specified), not for uninstallations (which generally happen on an
installed system).

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-08-29 04:11:45 +02:00
78ea318122
Remove Data::Dumper
Was only used for debugging.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-08-29 03:57:07 +02:00
2e6b130728
Add AppArmor profile
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-08-29 03:50:25 +02:00
c3564f8f0d
Add spec file
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-08-29 03:36:24 +02:00
c50e4a3a60
Correct parsing
Response isn't an array, just check for a suitable line instead.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-08-29 03:25:08 +02:00
53190e1a42
Initial commit
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-08-29 03:03:35 +02:00