{"action":"created","issue":{"url":"https://api.github.com/repos/wazuh/wazuh-packages/issues/21","repository_url":"https://api.github.com/repos/wazuh/wazuh-packages","labels_url":"https://api.github.com/repos/wazuh/wazuh-packages/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/wazuh/wazuh-packages/issues/21/comments","events_url":"https://api.github.com/repos/wazuh/wazuh-packages/issues/21/events","html_url":"https://github.com/wazuh/wazuh-packages/issues/21","id":338501055,"node_id":"MDU6SXNzdWUzMzg1MDEwNTU=","number":21,"title":"Improve RPM package","user":{"login":"jesuslinares","id":1523318,"node_id":"MDQ6VXNlcjE1MjMzMTg=","avatar_url":"https://avatars3.githubusercontent.com/u/1523318?v=4","gravatar_id":"","url":"https://api.github.com/users/jesuslinares","html_url":"https://github.com/jesuslinares","followers_url":"https://api.github.com/users/jesuslinares/followers","following_url":"https://api.github.com/users/jesuslinares/following{/other_user}","gists_url":"https://api.github.com/users/jesuslinares/gists{/gist_id}","starred_url":"https://api.github.com/users/jesuslinares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesuslinares/subscriptions","organizations_url":"https://api.github.com/users/jesuslinares/orgs","repos_url":"https://api.github.com/users/jesuslinares/repos","events_url":"https://api.github.com/users/jesuslinares/events{/privacy}","received_events_url":"https://api.github.com/users/jesuslinares/received_events","type":"User","site_admin":false},"labels":[{"id":589193554,"node_id":"MDU6TGFiZWw1ODkxOTM1NTQ=","url":"https://api.github.com/repos/wazuh/wazuh-packages/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":984647598,"node_id":"MDU6TGFiZWw5ODQ2NDc1OTg=","url":"https://api.github.com/repos/wazuh/wazuh-packages/labels/rpm","name":"rpm","color":"bc425c","default":false}],"state":"open","locked":false,"assignee":{"login":"BraulioV","id":9081114,"node_id":"MDQ6VXNlcjkwODExMTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9081114?v=4","gravatar_id":"","url":"https://api.github.com/users/BraulioV","html_url":"https://github.com/BraulioV","followers_url":"https://api.github.com/users/BraulioV/followers","following_url":"https://api.github.com/users/BraulioV/following{/other_user}","gists_url":"https://api.github.com/users/BraulioV/gists{/gist_id}","starred_url":"https://api.github.com/users/BraulioV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BraulioV/subscriptions","organizations_url":"https://api.github.com/users/BraulioV/orgs","repos_url":"https://api.github.com/users/BraulioV/repos","events_url":"https://api.github.com/users/BraulioV/events{/privacy}","received_events_url":"https://api.github.com/users/BraulioV/received_events","type":"User","site_admin":false},"assignees":[{"login":"BraulioV","id":9081114,"node_id":"MDQ6VXNlcjkwODExMTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9081114?v=4","gravatar_id":"","url":"https://api.github.com/users/BraulioV","html_url":"https://github.com/BraulioV","followers_url":"https://api.github.com/users/BraulioV/followers","following_url":"https://api.github.com/users/BraulioV/following{/other_user}","gists_url":"https://api.github.com/users/BraulioV/gists{/gist_id}","starred_url":"https://api.github.com/users/BraulioV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BraulioV/subscriptions","organizations_url":"https://api.github.com/users/BraulioV/orgs","repos_url":"https://api.github.com/users/BraulioV/repos","events_url":"https://api.github.com/users/BraulioV/events{/privacy}","received_events_url":"https://api.github.com/users/BraulioV/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-07-05T09:44:17Z","updated_at":"2018-09-17T11:28:45Z","closed_at":null,"author_association":"MEMBER","body":"The current RPM specs are too complex and hard to maintain. They must be improved in order to make it easier to maintain doing the following tasks:\r\n- [x] #24: Remove all the scripts from `/usr/share/wazuh-*`.\r\n- [x] #16: Remove all the backup files from `/tmp`.\r\n- [x] Simplify the `%install` section. It must use the `install.sh` script.\r\n- [x] Simplify the `%pre` and `%post` section. They are too complex and hard to maintain. Maybe both sections can use the scripts used in the `install.sh` to improve this.\r\n- [x] Remove the unnecessary `SourceX` from the RPM .specs files.\r\n- [x] Simplify the `%files` section of the RPM packages.\r\n- [x] Add support for different directory installations. This means that the package can be easily built to be installed in `/opt/`, `/var/` or any other directory."},"comment":{"url":"https://api.github.com/repos/wazuh/wazuh-packages/issues/comments/421976597","html_url":"https://github.com/wazuh/wazuh-packages/issues/21#issuecomment-421976597","issue_url":"https://api.github.com/repos/wazuh/wazuh-packages/issues/21","id":421976597,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTk3NjU5Nw==","user":{"login":"BraulioV","id":9081114,"node_id":"MDQ6VXNlcjkwODExMTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9081114?v=4","gravatar_id":"","url":"https://api.github.com/users/BraulioV","html_url":"https://github.com/BraulioV","followers_url":"https://api.github.com/users/BraulioV/followers","following_url":"https://api.github.com/users/BraulioV/following{/other_user}","gists_url":"https://api.github.com/users/BraulioV/gists{/gist_id}","starred_url":"https://api.github.com/users/BraulioV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BraulioV/subscriptions","organizations_url":"https://api.github.com/users/BraulioV/orgs","repos_url":"https://api.github.com/users/BraulioV/repos","events_url":"https://api.github.com/users/BraulioV/events{/privacy}","received_events_url":"https://api.github.com/users/BraulioV/received_events","type":"User","site_admin":false},"created_at":"2018-09-17T11:28:45Z","updated_at":"2018-09-17T11:28:45Z","author_association":"MEMBER","body":"Hi team,\r\n\r\nI finished all the tasks of this issue. So, before closing this issue I will heavily tests all the changes done in to solve this issue and, then, I will do the PR.\r\n\r\nRegards,\r\nBraulio."}}
{"actor":{"display_login":"BraulioV"}}