Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-3100

RPM build of oA 3.6.1 fails with "/var/adm/fillup-templates/sysconfig.openattic is not allowed in SUSE"

    XMLWordPrintable

    Details

    • External issue ID:
      bsc#1077966

      Description

      The RPM build of oA 3.6.1 in SLE15 fails with the following error:

      [ 52s] openattic.noarch: E: suse-filelist-forbidden-sysconfig (Badness: 10000) /var/adm/fillup-templates/sysconfig.openattic is not allowed in SUSE
       [ 52s] Please use %\{_fillupdir}/sysconfig.<pkgname> and call
       [ 52s] %fillup_and_insserv for new sysconfig files.
      

      The SUSE RPM spec file needs to be adjusted accordingly. It's probably as simple as changing the file as follows:

      index c80b8c88d..1189f6413 100644
       — a/rpm/openattic.spec
       +++ b/rpm/openattic.spec
       @@ -135,7 +135,7 @@ mkdir -p %\{buildroot}%\{_sysconfdir}/logrotate.d/
       mkdir -p %\{buildroot}%\{_sysconfdir}/modprobe.d/
       mkdir -p %\{buildroot}%\{_sysconfdir}/%\{name}/databases
       mkdir -p %\{buildroot}%\{_unitdir}
       -mkdir -p %\{buildroot}/var/adm/fillup-templates
       +mkdir -p %\{buildroot}%\{_fillupdir}
       # Install Backend and binaries
       rsync -aAX backend/ %\{buildroot}%\{_datadir}/%\{name}
       @@ -255,7 +255,7 @@ systemctl try-restart apache2
      
      %\{_sysconfdir}/cron.daily/%\{name}
      
      -/var/adm/fillup-templates/sysconfig.%\{name}
       +%\{_fillupdir}/sysconfig.%\{name}
      
      /srv/www/htdocs/index.html
       %\{_datadir}/%\{name}
      

        Attachments

          Activity

            People

            • Assignee:
              lgrimmer Grimmer, Lenz
              Reporter:
              lgrimmer Grimmer, Lenz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: